]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix gcc visibility
authorMathieu Rene <mrene@avgs.ca>
Thu, 5 Mar 2009 20:51:23 +0000 (20:51 +0000)
committerMathieu Rene <mrene@avgs.ca>
Thu, 5 Mar 2009 20:51:23 +0000 (20:51 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12470 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/include/switch_xml_config.h
src/switch_xml_config.c

index 6e4317b4cf670816b6c34c8eeb56c73d7547ab8c..935e3e8f5beb3ed4fc96b378158a3171d96b7175 100644 (file)
@@ -58,7 +58,7 @@ typedef struct {
        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;
index 898933faa0639b4b68826ef7a215341b23f78c21..7eea0924d1e48539c4b077b4b81d0610c0ad82ec 100644 (file)
@@ -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)
 {