Diff for /libraries/liblber/decode.c between versions 1.5.2.3 and 1.8

version 1.5.2.3, 1998/11/16 23:24:23 version 1.8, 1998/11/04 12:15:18
Line 14 Line 14
 #include "portable.h"  #include "portable.h"
   
 #include <stdio.h>  #include <stdio.h>
   
   #ifdef STDC_HEADERS
 #include <stdlib.h>  #include <stdlib.h>
   #endif
   
 #include <ac/stdarg.h>  #if defined( HAVE_STDARG_H ) && __STDC__
   #include <stdarg.h>
   #else
   #include <varargs.h>
   #endif
   
 #include <ac/string.h>  #include <ac/string.h>
 #include <ac/socket.h>  #include <ac/socket.h>
   
 #include "lber.h"  #include "lber-int.h"
   
 #ifdef LDAP_DEBUG  #ifdef LDAP_DEBUG
 int     lber_debug;  int     lber_debug;
Line 363  ber_next_element( BerElement *ber, unsig Line 370  ber_next_element( BerElement *ber, unsig
 /* VARARGS */  /* VARARGS */
 unsigned long  unsigned long
 ber_scanf  ber_scanf
 #if HAVE_STDARG  #if defined( HAVE_STDARG_H ) && __STDC__
         ( BerElement *ber, char *fmt, ... )          ( BerElement *ber, char *fmt, ... )
 #else  #else
         ( va_alist )          ( va_alist )
Line 371  va_dcl Line 378  va_dcl
 #endif  #endif
 {  {
         va_list         ap;          va_list         ap;
 #ifndef HAVE_STDARG  #if !(defined( HAVE_STDARG_H ) && __STDC__)
         BerElement      *ber;          BerElement      *ber;
         char            *fmt;          char            *fmt;
 #endif  #endif
Line 382  va_dcl Line 389  va_dcl
         long            *l;          long            *l;
         unsigned long   rc, tag, len;          unsigned long   rc, tag, len;
   
 #ifdef HAVE_STDARG  #if defined( HAVE_STDARG_H ) && __STDC__
         va_start( ap, fmt );          va_start( ap, fmt );
 #else  #else
         va_start( ap );          va_start( ap );

Removed from v.1.5.2.3  
changed lines
  Added in v.1.8


______________
© Copyright 1998-2020, OpenLDAP Foundation, info@OpenLDAP.org