fielding    98/12/15 00:55:17

  Modified:    src/os/bs2000 os.h
               src/os/os2 os.h
               src/os/tpf os.h
               src/os/unix os.h
  Log:
  gcc wants inlined functions to be prototyped, as revealed by warnings
  after the inline fix was applied last week.
  
  Revision  Changes    Path
  1.13      +4 -1      apache-1.3/src/os/bs2000/os.h
  
  Index: os.h
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/os/bs2000/os.h,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- os.h      1998/10/28 19:26:25     1.12
  +++ os.h      1998/12/15 08:55:14     1.13
  @@ -16,6 +16,9 @@
    * part of the header
    */
   #define INLINE extern ap_inline
  +
  +INLINE int ap_os_is_path_absolute(const char *file);
  +
   #include "os-inline.c"
   #endif
   
  @@ -23,7 +26,7 @@
   /* Compiler does not support inline, so prototype the inlineable functions
    * as normal
    */
  -extern int ap_os_is_path_absolute(const char *f);
  +extern int ap_os_is_path_absolute(const char *file);
   #endif
   
   /* Sorry if this is ugly, but the include order doesn't allow me
  
  
  
  1.9       +4 -1      apache-1.3/src/os/os2/os.h
  
  Index: os.h
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/os/os2/os.h,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- os.h      1998/07/20 16:40:39     1.8
  +++ os.h      1998/12/15 08:55:15     1.9
  @@ -15,6 +15,9 @@
    * part of the header
    */
   #define INLINE extern __inline__
  +
  +INLINE int ap_os_is_path_absolute(const char *file);
  +
   #include "os-inline.c"
   #endif
   
  @@ -22,7 +25,7 @@
   /* Compiler does not support inline, so prototype the inlineable functions
    * as normal
    */
  -extern int ap_os_is_path_absolute(const char *f);
  +extern int ap_os_is_path_absolute(const char *file);
   #endif
   
   /* OS/2 doesn't have symlinks so S_ISLNK is always false */
  
  
  
  1.2       +4 -1      apache-1.3/src/os/tpf/os.h
  
  Index: os.h
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/os/tpf/os.h,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- os.h      1998/11/03 22:06:31     1.1
  +++ os.h      1998/12/15 08:55:16     1.2
  @@ -20,6 +20,9 @@
    * part of the header
    */
   #define INLINE extern ap_inline
  +
  +INLINE int ap_os_is_path_absolute(const char *file);
  +
   #include "os-inline.c"
   #endif
   
  @@ -27,7 +30,7 @@
   /* Compiler does not support inline, so prototype the inlineable functions
    * as normal
    */
  -extern int ap_os_is_path_absolute(const char *f);
  +extern int ap_os_is_path_absolute(const char *file);
   #endif
   
   /* Sorry if this is ugly, but the include order doesn't allow me
  
  
  
  1.34      +4 -1      apache-1.3/src/os/unix/os.h
  
  Index: os.h
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/os/unix/os.h,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  --- os.h      1998/10/22 11:54:58     1.33
  +++ os.h      1998/12/15 08:55:17     1.34
  @@ -73,6 +73,9 @@
    * part of the header
    */
   #define INLINE extern ap_inline
  +
  +INLINE int ap_os_is_path_absolute(const char *file);
  +
   #include "os-inline.c"
   
   #else
  @@ -80,7 +83,7 @@
   /* Compiler does not support inline, so prototype the inlineable functions
    * as normal
    */
  -extern int ap_os_is_path_absolute(const char *f);
  +extern int ap_os_is_path_absolute(const char *file);
   #endif
   
   /*
  
  
  

Reply via email to