httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@hyperreal.org
Subject cvs commit: apache-2.0/src/lib/apr/time/unix time.c
Date Sun, 12 Sep 1999 11:12:55 GMT
ben         99/09/12 04:12:55

  Modified:    src/lib/apr/misc/unix start.c
               src/lib/apr/signal/unix signal.c
               src/lib/apr/time/unix time.c
  Log:
  Fix warnings.
  
  Revision  Changes    Path
  1.4       +3 -0      apache-2.0/src/lib/apr/misc/unix/start.c
  
  Index: start.c
  ===================================================================
  RCS file: /export/home/cvs/apache-2.0/src/lib/apr/misc/unix/start.c,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- start.c	1999/08/31 05:32:43	1.3
  +++ start.c	1999/09/12 11:12:53	1.4
  @@ -61,6 +61,9 @@
   #include <signal.h>
   #include <errno.h>
   #include <string.h>
  +#ifdef HAVE_STDLIB_H
  +# include <stdlib.h>
  +#endif
   
   /* ***APRDOC********************************************************
    * ap_status_t ap_create_context(ap_context_t *, void *, ap_context_t **)
  
  
  
  1.2       +2 -1      apache-2.0/src/lib/apr/signal/unix/signal.c
  
  Index: signal.c
  ===================================================================
  RCS file: /export/home/cvs/apache-2.0/src/lib/apr/signal/unix/signal.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- signal.c	1999/08/17 15:59:46	1.1
  +++ signal.c	1999/09/12 11:12:54	1.2
  @@ -100,7 +100,8 @@
    * arg 2) The signal we are expecting to receive.  Same as above list
    * arg 3) The function to execute when this signal is received.
    */
  -ap_setup_signal(ap_context_t *cont, ap_signum_t signum, Sigfunc *func)
  +ap_status_t ap_setup_signal(ap_context_t *cont, ap_signum_t signum,
  +			    Sigfunc *func)
   {
       sigset_t newset;
   
  
  
  
  1.3       +0 -1      apache-2.0/src/lib/apr/time/unix/time.c
  
  Index: time.c
  ===================================================================
  RCS file: /export/home/cvs/apache-2.0/src/lib/apr/time/unix/time.c,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- time.c	1999/08/30 15:20:14	1.2
  +++ time.c	1999/09/12 11:12:54	1.3
  @@ -89,7 +89,6 @@
    */
   ap_status_t ap_current_time(struct atime_t *new)
   {
  -    struct timeval newtime;
       new->currtime = ap_palloc(new->cntxt, sizeof(struct timeval));
       gettimeofday(new->currtime, NULL);
       return APR_SUCCESS; 
  
  
  

Mime
View raw message