httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r798923 - in /httpd/httpd/trunk/modules: cluster/mod_heartmonitor.c proxy/balancers/mod_lbmethod_heartbeat.c
Date Wed, 29 Jul 2009 14:38:02 GMT
Author: trawick
Date: Wed Jul 29 14:38:02 2009
New Revision: 798923

URL: http://svn.apache.org/viewvc?rev=798923&view=rev
Log:
mark some private module data as "static", resolving
a duplicate definition error from the linker

Modified:
    httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c
    httpd/httpd/trunk/modules/proxy/balancers/mod_lbmethod_heartbeat.c

Modified: httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c?rev=798923&r1=798922&r2=798923&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c (original)
+++ httpd/httpd/trunk/modules/cluster/mod_heartmonitor.c Wed Jul 29 14:38:02 2009
@@ -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;
 

Modified: httpd/httpd/trunk/modules/proxy/balancers/mod_lbmethod_heartbeat.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/balancers/mod_lbmethod_heartbeat.c?rev=798923&r1=798922&r2=798923&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/balancers/mod_lbmethod_heartbeat.c (original)
+++ httpd/httpd/trunk/modules/proxy/balancers/mod_lbmethod_heartbeat.c Wed Jul 29 14:38:02
2009
@@ -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;
 
 /*



Mime
View raw message