[Freeswitch-svn] [commit] r12470 - in freeswitch/trunk/src: . include
FreeSWITCH SVN
mrene at freeswitch.org
Thu Mar 5 12:51:24 PST 2009
Author: mrene
Date: Thu Mar 5 14:51:23 2009
New Revision: 12470
Log:
fix gcc visibility
Modified:
freeswitch/trunk/src/include/switch_xml_config.h
freeswitch/trunk/src/switch_xml_config.c
Modified: freeswitch/trunk/src/include/switch_xml_config.h
==============================================================================
--- freeswitch/trunk/src/include/switch_xml_config.h (original)
+++ freeswitch/trunk/src/include/switch_xml_config.h Thu Mar 5 14:51:23 2009
@@ -58,7 +58,7 @@
char *validation_regex; /*< Enforce validation using this regular expression */
} switch_xml_config_string_options_t;
-extern switch_xml_config_string_options_t switch_config_string_strdup; /*< String options structure for strdup, no validation */
+SWITCH_DECLARE_DATA extern switch_xml_config_string_options_t switch_config_string_strdup; /*< String options structure for strdup, no validation */
typedef struct {
switch_bool_t enforce_min;
Modified: freeswitch/trunk/src/switch_xml_config.c
==============================================================================
--- freeswitch/trunk/src/switch_xml_config.c (original)
+++ freeswitch/trunk/src/switch_xml_config.c Thu Mar 5 14:51:23 2009
@@ -32,7 +32,7 @@
#include <switch.h>
-switch_xml_config_string_options_t switch_config_string_strdup = { NULL, 0, NULL };
+SWITCH_DECLARE_DATA switch_xml_config_string_options_t switch_config_string_strdup = { NULL, 0, NULL };
SWITCH_DECLARE(switch_size_t) switch_event_import_xml(switch_xml_t xml, const char *keyname, const char *valuename, switch_event_t **event)
{
More information about the Freeswitch-svn
mailing list