dgaudet     97/11/12 15:26:14

  Modified:    src      CHANGES
               src/main conf.h
  Log:
  Always define SUNOS_LIB_PROTOTYPES under SUNOS.
  
  Submitted by: Ben Hyde
  Reviewed by:  Dean Gaudet, Martin Kraemer
  
  Revision  Changes    Path
  1.508     +4 -0      apachen/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /export/home/cvs/apachen/src/CHANGES,v
  retrieving revision 1.507
  retrieving revision 1.508
  diff -u -r1.507 -r1.508
  --- CHANGES   1997/11/12 23:22:03     1.507
  +++ CHANGES   1997/11/12 23:26:12     1.508
  @@ -1,5 +1,9 @@
   Changes with Apache 1.3b3
   
  +  *) PORT: SUNOS now always defines SUNOS_LIB_PROTOTYPES because a
  +     recent change elsewhere left us without definitions for fgetc()
  +     and fgets() breaking compilation.  [Martin Kraemer, Ben Hyde]
  +
     *) It was necessary to distinguish between resources which are
        allocated in the parent, for cleanup in the parent, and resources
        which are allocated in each child, for cleanup in each child.
  
  
  
  1.158     +5 -4      apachen/src/main/conf.h
  
  Index: conf.h
  ===================================================================
  RCS file: /export/home/cvs/apachen/src/main/conf.h,v
  retrieving revision 1.157
  retrieving revision 1.158
  diff -u -r1.157 -r1.158
  --- conf.h    1997/11/11 23:04:15     1.157
  +++ conf.h    1997/11/12 23:26:14     1.158
  @@ -117,6 +117,7 @@
   #define USE_FLOCK_SERIALIZED_ACCEPT
   #define NEED_DIFFTIME
   #define HAVE_SYSLOG
  +#define SUNOS_LIB_PROTOTYPES
   
   #elif defined(SOLARIS2)
   #undef HAVE_GMTOFF
  @@ -923,8 +924,8 @@
   
   int getopt(int, char **, char *);
   
  -int strcasecmp(char *, char *);
  -int strncasecmp(char *, char *, int);
  +int strcasecmp(const char *, const char *);
  +int strncasecmp(const char *, const char *, int);
   int toupper(int);
   int tolower(int);
   
  @@ -945,7 +946,7 @@
   void perror(char *);
   
   time_t time(time_t *);
  -int strftime(char *, int, char *, struct tm *);
  +int strftime(char *, int, const char *, struct tm *);
   
   int initgroups(char *, int);
   int wait3(int *, int, void *);       /* Close enough for us... */
  @@ -969,7 +970,7 @@
   void syslog(int, char *,...);
   char *mktemp(char *);
   
  -long vfprintf(FILE *, char *, va_list);
  +long vfprintf(FILE *, const char *, va_list);
   
   #endif /* SUNOS_LIB_PROTOTYPES */
   
  
  
  

Reply via email to