httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@locus.apache.org
Subject cvs commit: apache-2.0/src/lib/apr/test mod_test.c occhild.c testcontext.c testoc.c testproc.c testshmem.c testsock.c
Date Tue, 01 Aug 2000 23:10:38 GMT
trawick     00/08/01 16:10:37

  Modified:    src/lib/apr/test mod_test.c occhild.c testcontext.c testoc.c
                        testproc.c testshmem.c testsock.c
  Log:
  Clean up compile warnings, mostly by including apr_strings.h.
  
  Revision  Changes    Path
  1.2       +1 -0      apache-2.0/src/lib/apr/test/mod_test.c
  
  Index: mod_test.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/test/mod_test.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- mod_test.c	2000/04/04 03:51:55	1.1
  +++ mod_test.c	2000/08/01 23:10:28	1.2
  @@ -14,4 +14,5 @@
           fprintf (stdout, "Goodbye from the DSO! (%d of %d)\n", i+1, reps);
       }
       goodbyes = reps;
  +    return 0;
   }
  
  
  
  1.2       +1 -0      apache-2.0/src/lib/apr/test/occhild.c
  
  Index: occhild.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/test/occhild.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- occhild.c	2000/05/03 18:12:51	1.1
  +++ occhild.c	2000/08/01 23:10:28	1.2
  @@ -10,4 +10,5 @@
       while (rc == 1) {
           read(STDERR_FILENO, buf, 256);
       }
  +    return 0; /* just to keep the compiler happy */
   }
  
  
  
  1.9       +1 -0      apache-2.0/src/lib/apr/test/testcontext.c
  
  Index: testcontext.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/test/testcontext.c,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- testcontext.c	2000/04/14 15:58:44	1.8
  +++ testcontext.c	2000/08/01 23:10:29	1.9
  @@ -58,6 +58,7 @@
   #include "apr_errno.h"
   #include "apr_general.h"
   #include "apr_lib.h"
  +#include "apr_strings.h"
   #ifdef BEOS
   #include <unistd.h>
   #endif
  
  
  
  1.11      +1 -3      apache-2.0/src/lib/apr/test/testoc.c
  
  Index: testoc.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/test/testoc.c,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- testoc.c	2000/06/03 15:59:38	1.10
  +++ testoc.c	2000/08/01 23:10:29	1.11
  @@ -56,6 +56,7 @@
   #include "apr_errno.h"
   #include "apr_general.h"
   #include "apr_lib.h"
  +#include "apr_strings.h"
   #include <errno.h>
   #include <stdio.h>
   #include <stdlib.h>
  @@ -85,9 +86,6 @@
   int main(int argc, char *argv[])
   {
       ap_pool_t *context;
  -    ap_pool_t *cont2;
  -    ap_status_t status = 0;
  -    ap_ssize_t nbytes = 0;
       ap_proc_t newproc;
       ap_procattr_t *procattr = NULL;
       ap_file_t *std = NULL;
  
  
  
  1.19      +1 -0      apache-2.0/src/lib/apr/test/testproc.c
  
  Index: testproc.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/test/testproc.c,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- testproc.c	2000/06/03 15:59:38	1.18
  +++ testproc.c	2000/08/01 23:10:30	1.19
  @@ -56,6 +56,7 @@
   #include "apr_errno.h"
   #include "apr_general.h"
   #include "apr_lib.h"
  +#include "apr_strings.h"
   #include <errno.h>
   #ifndef WIN32
   #include <unistd.h>
  
  
  
  1.10      +1 -0      apache-2.0/src/lib/apr/test/testshmem.c
  
  Index: testshmem.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/test/testshmem.c,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- testshmem.c	2000/06/03 15:59:38	1.9
  +++ testshmem.c	2000/08/01 23:10:30	1.10
  @@ -57,6 +57,7 @@
   #include "apr_errno.h"
   #include "apr_general.h"
   #include "apr_lib.h"
  +#include "apr_strings.h"
   #include <errno.h>
   #include <stdio.h>
   #include <stdlib.h>
  
  
  
  1.10      +1 -0      apache-2.0/src/lib/apr/test/testsock.c
  
  Index: testsock.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/test/testsock.c,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- testsock.c	2000/05/23 21:03:58	1.9
  +++ testsock.c	2000/08/01 23:10:30	1.10
  @@ -59,6 +59,7 @@
   #include "apr_errno.h"
   #include "apr_general.h"
   #include "apr_lib.h"
  +#include "apr_strings.h"
   
   #define STRLEN 15
   
  
  
  

Mime
View raw message