httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Behlendorf <br...@hyperreal.com>
Subject cvs commit: apache/src conf.h
Date Fri, 24 Jan 1997 20:55:11 GMT
brian       97/01/24 12:55:10

  Modified:    src       conf.h
  Log:
  Reviewed by:	Marc Slemko, Roy T. Fielding
  Submitted by:	Brian Behlendorf
  
  Needed prototype for ap_vsnprintf, and that needed varargs.h for va_list.
  
  Revision  Changes    Path
  1.72      +2 -1      apache/src/conf.h
  
  Index: conf.h
  ===================================================================
  RCS file: /export/home/cvs/apache/src/conf.h,v
  retrieving revision 1.71
  retrieving revision 1.72
  diff -C3 -r1.71 -r1.72
  *** conf.h	1997/01/20 23:55:10	1.71
  --- conf.h	1997/01/24 20:55:08	1.72
  ***************
  *** 480,485 ****
  --- 480,486 ----
     */
    
    #include <sys/types.h>
  + #include <stdarg.h>
    /*
     * We use snprintf() to avoid overflows, but we include
     * our own version (ap_snprintf). Allow for people to use their
  ***************
  *** 490,495 ****
  --- 491,497 ----
    #define ap_vsnprintf    vsnprintf
    #else
    int ap_snprintf(char *buf, size_t len, const char *format,...);
  + int ap_vsnprintf(char *buf, size_t len, const char *format, va_list ap);
    #endif
    
    #if !defined(NEXT) && !defined(CONVEXOS)
  ***************
  *** 661,667 ****
    void syslog (int, char *, ...);
    char *mktemp (char *);
         
  - #include <stdarg.h>
    long vfprintf (FILE *, char *, va_list);
         
    #endif
  --- 663,668 ----
  
  
  

Mime
View raw message