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

version 1.5.2.3, 1998/12/31 19:32:05 version 1.6, 1998/10/26 00:18:42
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 20 Line 16
 #include <stdio.h>  #include <stdio.h>
 #include <stdlib.h>  #include <stdlib.h>
   
 #include <ac/stdarg.h>  #ifdef STDC_HEADERS
   #include <stdarg.h>
   #else
   #include <varargs.h>
   #endif
   
 #include <ac/socket.h>  #include <ac/socket.h>
 #include <ac/string.h>  #include <ac/string.h>
   
 #include "lber.h"  #include "lber-int.h"
   
 static int ber_put_len LDAP_P(( BerElement *ber,  static int ber_put_len LDAP_P(( BerElement *ber,
         unsigned long len, int nosos ));          unsigned long len, int nosos ));
Line 508  ber_put_set( BerElement *ber ) Line 509  ber_put_set( BerElement *ber )
 /* VARARGS */  /* VARARGS */
 int  int
 ber_printf  ber_printf
 #ifdef HAVE_STDARG  #ifdef STDC_HEADERS
         ( BerElement *ber, char *fmt, ... )          ( BerElement *ber, char *fmt, ... )
 #else  #else
         ( va_alist )          ( va_alist )
Line 516  va_dcl Line 517  va_dcl
 #endif  #endif
 {  {
         va_list         ap;          va_list         ap;
 #ifndef HAVE_STDARG  #ifndef STDC_HEADERS
         BerElement      *ber;          BerElement      *ber;
         char            *fmt;          char            *fmt;
 #endif  #endif
Line 525  va_dcl Line 526  va_dcl
         int             rc, i;          int             rc, i;
         unsigned long   len;          unsigned long   len;
   
 #ifdef HAVE_STDARG  #ifdef STDC_HEADERS 
         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.6


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