httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@hyperreal.org
Subject cvs commit: apache-1.3/src/main http_main.c
Date Fri, 18 Sep 1998 06:43:29 GMT
rse         98/09/17 23:43:29

  Modified:    src/main http_main.c
  Log:
  Remove nasty GCC messages about `nexted external declarations'
  under --enable-rule=SHARED_CORE situation.
  
  Revision  Changes    Path
  1.395     +5 -3      apache-1.3/src/main/http_main.c
  
  Index: http_main.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/main/http_main.c,v
  retrieving revision 1.394
  retrieving revision 1.395
  diff -u -r1.394 -r1.395
  --- http_main.c	1998/09/17 16:24:44	1.394
  +++ http_main.c	1998/09/18 06:43:28	1.395
  @@ -5764,9 +5764,10 @@
   **  in the shared core library under run-time.
   */
   
  +extern int ap_main(int argc, char *argv[]);
  +
   int main(int argc, char *argv[]) 
   {
  -    extern int ap_main(int argc, char *argv[]);
       return ap_main(argc, argv);
   }
   
  @@ -5804,10 +5805,11 @@
   #define SHARED_CORE_EXECUTABLE_PROGRAM "libhttpd.ep"
   #endif
   
  +extern char *optarg;
  +extern int   optind;
  +
   int main(int argc, char *argv[], char *envp[]) 
   {
  -    extern char *optarg;
  -    extern int optind;
       char prog[MAX_STRING_LEN];
       char llp_buf[MAX_STRING_LEN];
       char **llp_slot;
  
  
  

Mime
View raw message