You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apreq-cvs@httpd.apache.org by jo...@apache.org on 2003/09/18 20:04:49 UTC

cvs commit: httpd-apreq-2/env/c-modules/apreq_access_test mod_apreq_access_test.c

joes        2003/09/18 11:04:49

  Modified:    env/c-modules/apreq_access_test mod_apreq_access_test.c
  Log:
  Move the defines ahead of #include "apache_httpd_test.h" (avoids compiler redefinition warnings).
  
  Revision  Changes    Path
  1.3       +4 -3      httpd-apreq-2/env/c-modules/apreq_access_test/mod_apreq_access_test.c
  
  Index: mod_apreq_access_test.c
  ===================================================================
  RCS file: /home/cvs/httpd-apreq-2/env/c-modules/apreq_access_test/mod_apreq_access_test.c,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- mod_apreq_access_test.c	11 Jul 2003 02:40:20 -0000	1.2
  +++ mod_apreq_access_test.c	18 Sep 2003 18:04:49 -0000	1.3
  @@ -61,6 +61,10 @@
   
   #endif
   
  +#define APACHE_HTTPD_TEST_ACCESS_CHECKER apreq_access_checker
  +#define APACHE_HTTPD_TEST_COMMANDS       access_cmds
  +#define APACHE_HTTPD_TEST_PER_DIR_CREATE create_access_config 
  +
   #include "apache_httpd_test.h"
   #include "apreq_params.h"
   #include "apreq_env.h"
  @@ -68,9 +72,6 @@
   #include "apr_strings.h"
   
   module AP_MODULE_DECLARE_DATA apreq_access_test_module;
  -#define APACHE_HTTPD_TEST_ACCESS_CHECKER apreq_access_checker
  -#define APACHE_HTTPD_TEST_COMMANDS       access_cmds
  -#define APACHE_HTTPD_TEST_PER_DIR_CREATE create_access_config 
   
   struct access_test_cfg {
       apr_pool_t *pool;