Diff for /libraries/liblber/decode.c between versions 1.3 and 1.3.4.1

version 1.3, 1998/08/09 02:13:59 version 1.3.4.1, 1998/08/13 18:23:30
Line 24 Line 24
 #include <malloc.h>  #include <malloc.h>
 #endif  #endif
 #endif /* next || vms */  #endif /* next || vms */
 #if defined(BC31) || defined(_WIN32)  #if defined(BC31) || defined(_WIN32) || defined(sunos5)
 #include <stdarg.h>  #include <stdarg.h>
 #else /* BC31 || _WIN32 */  #else /* BC31 || _WIN32 || defined(sunos5) */
 #include <varargs.h>  #include <varargs.h>
 #endif /* BC31 || _WIN32 */  #endif /* BC31 || _WIN32 || defined(sunos5) */
 #include <sys/types.h>  #include <sys/types.h>
 #include <sys/socket.h>  #include <sys/socket.h>
 #include <netinet/in.h>  #include <netinet/in.h>
Line 387  ber_next_element( BerElement *ber, unsig Line 387  ber_next_element( BerElement *ber, unsig
 /* VARARGS */  /* VARARGS */
 unsigned long  unsigned long
 ber_scanf(  ber_scanf(
 #if defined( MACOS ) || defined( BC31 ) || defined( _WIN32 )  #if defined( MACOS ) || defined( BC31 ) || defined( _WIN32 ) || defined(sunos5)
         BerElement *ber, char *fmt, ... )          BerElement *ber, char *fmt, ... )
 #else  #else
         va_alist )          va_alist )
Line 395  va_dcl Line 395  va_dcl
 #endif  #endif
 {  {
         va_list         ap;          va_list         ap;
 #if !defined( MACOS ) && !defined( BC31 ) && !defined( _WIN32 )  #if !defined( MACOS ) && !defined( BC31 ) && !defined( _WIN32 ) && !defined(sunos5)
         BerElement      *ber;          BerElement      *ber;
         char            *fmt;          char            *fmt;
 #endif  #endif
Line 406  va_dcl Line 406  va_dcl
         long            *l, rc, tag;          long            *l, rc, tag;
         unsigned long   len;          unsigned long   len;
   
 #if defined( MACOS ) || defined( BC31 ) || defined( _WIN32 )  #if defined( MACOS ) || defined( BC31 ) || defined( _WIN32 ) || defined(sunos5)
         va_start( ap, fmt );          va_start( ap, fmt );
 #else  #else
         va_start( ap );          va_start( ap );

Removed from v.1.3  
changed lines
  Added in v.1.3.4.1


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