rse 98/03/13 04:07:00
Modified: src/include hide.h src/modules/example mod_example.c Log: mod_example unnecessarily exports its command and handler structures Revision Changes Path 1.8 +0 -2 apache-1.3/src/include/hide.h Index: hide.h =================================================================== RCS file: /export/home/cvs/apache-1.3/src/include/hide.h,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- hide.h 1998/03/12 13:52:06 1.7 +++ hide.h 1998/03/13 12:06:58 1.8 @@ -129,8 +129,6 @@ #define dir_module AP_dir_module #define dummy_mutex AP_dummy_mutex #define env_module AP_env_module -#define example_cmds AP_example_cmds -#define example_handlers AP_example_handlers #define example_module AP_example_module #define expires_module AP_expires_module #define headers_module AP_headers_module 1.26 +2 -2 apache-1.3/src/modules/example/mod_example.c Index: mod_example.c =================================================================== RCS file: /export/home/cvs/apache-1.3/src/modules/example/mod_example.c,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- mod_example.c 1998/03/12 10:29:00 1.25 +++ mod_example.c 1998/03/13 12:06:59 1.26 @@ -1055,7 +1055,7 @@ /* * List of directives specific to our module. */ -command_rec example_cmds[] = +static command_rec example_cmds[] = { { "Example", /* directive name */ @@ -1086,7 +1086,7 @@ * if a content-handler returns anything except DECLINED, no other * content-handlers will be called. */ -handler_rec example_handlers[] = +static handler_rec example_handlers[] = { {"example-handler", example_handler}, {NULL}