From: Jeff Trawick Date: Wed, 29 Jul 2009 14:38:02 +0000 (+0000) Subject: mark some private module data as "static", resolving X-Git-Tag: 2.3.3~411 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7dc5818d99e7d83d6a474ad25d2e8f572c154f15;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/modules/cluster/mod_heartmonitor.c b/modules/cluster/mod_heartmonitor.c index 5b8712425dd..4d95d0b3875 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 e521cc979c6..7e1f356f48a 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; /*