Author: mladen.turk(a)jboss.com
Date: 2008-06-18 02:22:29 -0400 (Wed, 18 Jun 2008)
New Revision: 1714
Modified:
trunk/mod_cluster/native/mod_manager/mod_manager.c
Log:
Do not use export for local static cmd functions
Modified: trunk/mod_cluster/native/mod_manager/mod_manager.c
===================================================================
--- trunk/mod_cluster/native/mod_manager/mod_manager.c 2008-06-17 15:10:25 UTC (rev 1713)
+++ trunk/mod_cluster/native/mod_manager/mod_manager.c 2008-06-18 06:22:29 UTC (rev 1714)
@@ -1206,31 +1206,31 @@
/*
* Supported directives.
*/
-AP_DECLARE_NONSTD(const char *) cmd_manager_maxcontext(cmd_parms *cmd, void *mconfig,
const char *word)
+static const char *cmd_manager_maxcontext(cmd_parms *cmd, void *mconfig, const char
*word)
{
mod_manager_config *mconf = ap_get_module_config(cmd->server->module_config,
&manager_module);
mconf->maxcontext = atoi(word);
return NULL;
}
-AP_DECLARE_NONSTD(const char *) cmd_manager_maxnode(cmd_parms *cmd, void *mconfig, const
char *word)
+static const char *cmd_manager_maxnode(cmd_parms *cmd, void *mconfig, const char *word)
{
mod_manager_config *mconf = ap_get_module_config(cmd->server->module_config,
&manager_module);
mconf->maxnode = atoi(word);
return NULL;
}
-AP_DECLARE_NONSTD(const char *) cmd_manager_maxhost(cmd_parms *cmd, void *mconfig, const
char *word)
+static const char *cmd_manager_maxhost(cmd_parms *cmd, void *mconfig, const char *word)
{
mod_manager_config *mconf = ap_get_module_config(cmd->server->module_config,
&manager_module);
mconf->maxhost = atoi(word);
return NULL;
}
-AP_DECLARE_NONSTD(const char *) cmd_manager_memmanagerfile(cmd_parms *cmd, void *mconfig,
const char *word)
+static const char *cmd_manager_memmanagerfile(cmd_parms *cmd, void *mconfig, const char
*word)
{
mod_manager_config *mconf = ap_get_module_config(cmd->server->module_config,
&manager_module);
mconf->basefilename = apr_pstrdup(cmd->pool, word);
return NULL;
}
-AP_DECLARE_NONSTD(const char *) cmd_manager_balancername(cmd_parms *cmd, void *mconfig,
const char *word)
+static const char *cmd_manager_balancername(cmd_parms *cmd, void *mconfig, const char
*word)
{
mod_manager_config *mconf = ap_get_module_config(cmd->server->module_config,
&manager_module);
/* XXX: create the entry in the shared balancer table */
Show replies by date