]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
mark some private module data as "static", resolving
authorJeff Trawick <trawick@apache.org>
Wed, 29 Jul 2009 14:38:02 +0000 (14:38 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 29 Jul 2009 14:38:02 +0000 (14:38 +0000)
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

modules/cluster/mod_heartmonitor.c
modules/proxy/balancers/mod_lbmethod_heartbeat.c

index 5b8712425dd889fd8c8c19cbfb8e7982ac1693a3..4d95d0b38751b41ace20d663fce9774f2820fe6d 100644 (file)
@@ -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;
 
index e521cc979c6c0b29fde36f4ad0b3dfb79b1b3ffa..7e1f356f48afb5e5d5a5a682a4b33f9b9bc3ea58 100644 (file)
@@ -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;
 
 /*