fix gcc visibility

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12470 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Mathieu Rene 2009-03-05 20:51:23 +00:00
parent c0bc34ee7e
commit ff2cf9623e
2 changed files with 2 additions and 2 deletions

View 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;

View 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)
{