diff options
author | Chris Darroch <chrisd@apache.org> | 2008-04-16 06:02:57 +0200 |
---|---|---|
committer | Chris Darroch <chrisd@apache.org> | 2008-04-16 06:02:57 +0200 |
commit | 719bf7248920a5b3babb186a0c2162e5e79e1651 (patch) | |
tree | 1fefb2bf0e43d5e33a6c7063420f5f956ca0ac07 /modules/cache | |
parent | Update transformations (diff) | |
download | apache2-719bf7248920a5b3babb186a0c2162e5e79e1651.tar.xz apache2-719bf7248920a5b3babb186a0c2162e5e79e1651.zip |
remove const on socache module declarations to avoid segfault in
ap_setup_prelinked_modules() when modules linked in at compile time
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@648499 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/cache')
-rw-r--r-- | modules/cache/mod_socache_dbm.c | 2 | ||||
-rw-r--r-- | modules/cache/mod_socache_dc.c | 2 | ||||
-rw-r--r-- | modules/cache/mod_socache_memcache.c | 2 | ||||
-rw-r--r-- | modules/cache/mod_socache_shmcb.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/modules/cache/mod_socache_dbm.c b/modules/cache/mod_socache_dbm.c index 1b71437801..0df9ad6f2e 100644 --- a/modules/cache/mod_socache_dbm.c +++ b/modules/cache/mod_socache_dbm.c @@ -499,7 +499,7 @@ static void register_hooks(apr_pool_t *p) &socache_dbm); } -const module AP_MODULE_DECLARE_DATA socache_dbm_module = { +module AP_MODULE_DECLARE_DATA socache_dbm_module = { STANDARD20_MODULE_STUFF, NULL, NULL, NULL, NULL, NULL, register_hooks diff --git a/modules/cache/mod_socache_dc.c b/modules/cache/mod_socache_dc.c index c77da78d13..490c88470f 100644 --- a/modules/cache/mod_socache_dc.c +++ b/modules/cache/mod_socache_dc.c @@ -167,7 +167,7 @@ static void register_hooks(apr_pool_t *p) &socache_dc); } -const module AP_MODULE_DECLARE_DATA socache_dc_module = { +module AP_MODULE_DECLARE_DATA socache_dc_module = { STANDARD20_MODULE_STUFF, NULL, NULL, NULL, NULL, NULL, register_hooks diff --git a/modules/cache/mod_socache_memcache.c b/modules/cache/mod_socache_memcache.c index 2cea41c124..a9b0f47ac1 100644 --- a/modules/cache/mod_socache_memcache.c +++ b/modules/cache/mod_socache_memcache.c @@ -290,7 +290,7 @@ static void register_hooks(apr_pool_t *p) #endif } -const module AP_MODULE_DECLARE_DATA socache_memcache_module = { +module AP_MODULE_DECLARE_DATA socache_memcache_module = { STANDARD20_MODULE_STUFF, NULL, NULL, NULL, NULL, NULL, register_hooks diff --git a/modules/cache/mod_socache_shmcb.c b/modules/cache/mod_socache_shmcb.c index 87c38ea738..394a23cb57 100644 --- a/modules/cache/mod_socache_shmcb.c +++ b/modules/cache/mod_socache_shmcb.c @@ -839,7 +839,7 @@ static void register_hooks(apr_pool_t *p) &socache_shmcb); } -const module AP_MODULE_DECLARE_DATA socache_shmcb_module = { +module AP_MODULE_DECLARE_DATA socache_shmcb_module = { STANDARD20_MODULE_STUFF, NULL, NULL, NULL, NULL, NULL, register_hooks |