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 Wed, 21 Apr 1999 18:08:07 GMT
rse         99/04/21 11:08:07

  Modified:    src/main http_main.c
  Log:
  Fix a recently introduced warning:
  
  | :> make
  | gcc -c  -I../os/unix -I../include   -funsigned-char -DTARGET=\"apache\" -pipe
  | -O -pedantic -Wall -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes
  | -Wmissing-declarations -Wnested-externs -Winline `../apaci` http_main.c
  | http_main.c:3485: warning: no previous prototype for `common_init'
  
  I've checked it and it looks like a mistake from a recent commit, because
  commot_init() is still a locally used function only:
  
  | :> aps grep common_init
  | ===> main/http_main.c
  | static void common_init(void)
  |     common_init();
  |     common_init();
  |     common_init();
  
  Feel free to complain and reverse this again, but then please fix it in
  addition to a prototype somewhere in the header files or at least at the start
  of http_main.c, of course.
  
  Revision  Changes    Path
  1.431     +1 -1      apache-1.3/src/main/http_main.c
  
  Index: http_main.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/main/http_main.c,v
  retrieving revision 1.430
  retrieving revision 1.431
  diff -u -r1.430 -r1.431
  --- http_main.c	1999/04/20 19:15:39	1.430
  +++ http_main.c	1999/04/21 18:08:05	1.431
  @@ -3481,7 +3481,7 @@
    * some of it is #ifdef'd but was duplicated before anyhow.  This stuff
    * is still a mess.
    */
  -void common_init(void)
  +static void common_init(void)
   {
       INIT_SIGLIST()
   #ifdef AUX3
  
  
  

Mime
View raw message