From 2a463b3cd73c32ee9dcd508248d0194923f435f4 Mon Sep 17 00:00:00 2001
From: Stefan Fritsch
This is the code that was added to mod_mmap_static
:
-static void register_hooks(void) +static void register_hooks(void) { static const char * const aszPre[]={ "http_core.c",NULL }; ap_hook_post_config(mmap_post_config,NULL,NULL,HOOK_MIDDLE); @@ -131,8 +130,7 @@ static void register_hooks(void) creating your module definition. The old definition looked like --module MODULE_VAR_EXPORT module_name_module = +module MODULE_VAR_EXPORT module_name_module = { STANDARD_MODULE_STUFF, /* initializer */ @@ -156,8 +154,7 @@ module MODULE_VAR_EXPORT module_name_module = };The new structure is a great deal simpler...
--module MODULE_VAR_EXPORT module_name_module = +module MODULE_VAR_EXPORT module_name_module = { STANDARD20_MODULE_STUFF, /* create per-directory config structures */ @@ -298,7 +295,7 @@ var comments_identifier = 'http://httpd.apache.org/docs/2.4/developer/modules.ht } })(window, document); //-->