You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by tr...@apache.org on 2002/01/17 02:42:32 UTC

cvs commit: apr/test testpools.c

trawick     02/01/16 17:42:31

  Modified:    test     testpools.c
  Log:
  clean up some warnings (unused variables, unprototyped exported
  functions)
  
  Revision  Changes    Path
  1.2       +2 -5      apr/test/testpools.c
  
  Index: testpools.c
  ===================================================================
  RCS file: /home/cvs/apr/test/testpools.c,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- testpools.c	12 Jan 2002 19:18:12 -0000	1.1
  +++ testpools.c	17 Jan 2002 01:42:31 -0000	1.2
  @@ -65,7 +65,7 @@
   #endif
   #include "test_apr.h"
   
  -void alloc_bytes(apr_pool_t *p, int bytes)
  +static void alloc_bytes(apr_pool_t *p, int bytes)
   {
       int i;
       char *alloc;
  @@ -87,7 +87,7 @@
       printf("OK\n");
   }
   
  -void calloc_bytes(apr_pool_t *p, int bytes)
  +static void calloc_bytes(apr_pool_t *p, int bytes)
   {
       int i;
       char *alloc;
  @@ -116,9 +116,6 @@
   int main (int argc, char ** argv)
   {
       apr_pool_t *pmain, *pchild;
  -    char buff[50];
  -    char *bytes, *zbytes;
  -    int i;
       
       apr_initialize();
       atexit(apr_terminate);