Diff for /libraries/liblber/encode.c between versions 1.5 and 1.5.2.3

version 1.5, 1998/10/24 23:41:55 version 1.5.2.3, 1998/12/31 19:32:05
Line 1 Line 1
 /* encode.c - ber output encoding routines */  /* encode.c - ber output encoding routines */
 /*  /*
    * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
    * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
    */
   /* Portions
  * Copyright (c) 1990 Regents of the University of Michigan.   * Copyright (c) 1990 Regents of the University of Michigan.
  * All rights reserved.   * All rights reserved.
  *   *
Line 16 Line 20
 #include <stdio.h>  #include <stdio.h>
 #include <stdlib.h>  #include <stdlib.h>
   
 #ifdef STDC_HEADERS  #include <ac/stdarg.h>
 #include <stdarg.h>  
 #else  
 #include <varargs.h>  
 #endif  
   
 #include <ac/socket.h>  #include <ac/socket.h>
 #include <ac/string.h>  #include <ac/string.h>
   
Line 509  ber_put_set( BerElement *ber ) Line 508  ber_put_set( BerElement *ber )
 /* VARARGS */  /* VARARGS */
 int  int
 ber_printf  ber_printf
 #ifdef STDC_HEADERS  #ifdef HAVE_STDARG
         ( BerElement *ber, char *fmt, ... )          ( BerElement *ber, char *fmt, ... )
 #else  #else
         ( va_alist )          ( va_alist )
Line 517  va_dcl Line 516  va_dcl
 #endif  #endif
 {  {
         va_list         ap;          va_list         ap;
 #ifndef STDC_HEADERS  #ifndef HAVE_STDARG
         BerElement      *ber;          BerElement      *ber;
         char            *fmt;          char            *fmt;
 #endif  #endif
Line 526  va_dcl Line 525  va_dcl
         int             rc, i;          int             rc, i;
         unsigned long   len;          unsigned long   len;
   
 #ifdef STDC_HEADERS   #ifdef HAVE_STDARG
         va_start( ap, fmt );          va_start( ap, fmt );
 #else  #else
         va_start( ap );          va_start( ap );

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


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