apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject cvs commit: apr/test testdso.c
Date Sun, 24 Nov 2002 10:02:41 GMT
jorton      2002/11/24 02:02:40

  Modified:    test     testdso.c
  Log:
  Move variable declarations to beginning of block (only allowed in C99/C++).
  
  Revision  Changes    Path
  1.25      +2 -3      apr/test/testdso.c
  
  Index: testdso.c
  ===================================================================
  RCS file: /home/cvs/apr/test/testdso.c,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- testdso.c	24 Nov 2002 05:18:23 -0000	1.24
  +++ testdso.c	24 Nov 2002 10:02:40 -0000	1.25
  @@ -269,6 +269,8 @@
   
   CuSuite *testdso(void)
   {
  +    CuSuite *suite = CuSuiteNew("DSO");
  +
       filename = apr_pcalloc(p, 256);
       getcwd(filename, 256);
       filename = apr_pstrcat(p, filename, "/", LIB_NAME, NULL);
  @@ -276,9 +278,6 @@
       filename2 = apr_pcalloc(p, 256);
       getcwd(filename2, 256);
       filename2 = apr_pstrcat(p, filename2, "/", LIB_NAME2, NULL);
  -
  -
  -    CuSuite *suite = CuSuiteNew("DSO");
   
       SUITE_ADD_TEST(suite, test_load_module);
       SUITE_ADD_TEST(suite, test_dso_sym);
  
  
  

Mime
View raw message