diff options
author | Jeff Trawick <trawick@apache.org> | 2009-07-29 16:38:02 +0200 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2009-07-29 16:38:02 +0200 |
commit | 7dc5818d99e7d83d6a474ad25d2e8f572c154f15 (patch) | |
tree | 8d2491547c3546ffc4c5c143d3bf30a58c97371c | |
parent | fix type mismatch in argument to attach() method (diff) | |
download | apache2-7dc5818d99e7d83d6a474ad25d2e8f572c154f15.tar.xz apache2-7dc5818d99e7d83d6a474ad25d2e8f572c154f15.zip |
mark some private module data as "static", resolving
a duplicate definition error from the linker
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@798923 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | modules/cluster/mod_heartmonitor.c | 2 | ||||
-rw-r--r-- | modules/proxy/balancers/mod_lbmethod_heartbeat.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/cluster/mod_heartmonitor.c b/modules/cluster/mod_heartmonitor.c index 5b8712425d..4d95d0b387 100644 --- a/modules/cluster/mod_heartmonitor.c +++ b/modules/cluster/mod_heartmonitor.c @@ -37,7 +37,7 @@ #define HM_WATHCHDOG_NAME ("_heartmonitor_") -const ap_slotmem_provider_t *storage = NULL; +static const ap_slotmem_provider_t *storage = NULL; static ap_slotmem_instance_t *slotmem = NULL; static int maxworkers = 0; diff --git a/modules/proxy/balancers/mod_lbmethod_heartbeat.c b/modules/proxy/balancers/mod_lbmethod_heartbeat.c index e521cc979c..7e1f356f48 100644 --- a/modules/proxy/balancers/mod_lbmethod_heartbeat.c +++ b/modules/proxy/balancers/mod_lbmethod_heartbeat.c @@ -31,7 +31,7 @@ module AP_MODULE_DECLARE_DATA lbmethod_heartbeat_module; -const ap_slotmem_provider_t *storage = NULL; +static const ap_slotmem_provider_t *storage = NULL; static ap_slotmem_instance_t *hm_serversmem = NULL; /* |