diff --git a/server/core/config.c b/server/core/config.c index 7137533d6..ad7c6fd6b 100644 --- a/server/core/config.c +++ b/server/core/config.c @@ -71,7 +71,6 @@ static char *config_get_value(CONFIG_PARAMETER *, const char *); static int handle_global_item(const char *, const char *); static void global_defaults(); static void check_config_objects(CONFIG_CONTEXT *context); -static int config_truth_value(char *str); static int internalService(char *router); static char *config_file = NULL; @@ -1807,7 +1806,7 @@ bool config_set_qualified_param( * @param str String to convert to a boolean * @return Truth value */ -static int +int config_truth_value(char *str) { if (strcasecmp(str, "true") == 0 || strcasecmp(str, "on") == 0 || strcasecmp(str, "yes") == 0) diff --git a/server/include/config.h b/server/include/config.h index a41c845dd..93bd095c1 100644 --- a/server/include/config.h +++ b/server/include/config.h @@ -107,7 +107,7 @@ extern unsigned int config_pollsleep(); CONFIG_PARAMETER* config_get_param(CONFIG_PARAMETER* params, const char* name); config_param_type_t config_get_paramtype(CONFIG_PARAMETER* param); CONFIG_PARAMETER* config_clone_param(CONFIG_PARAMETER* param); -static int config_truth_value(char *str); +int config_truth_value(char *str); bool config_set_qualified_param( CONFIG_PARAMETER* param, void* val,