From: Jeff Lenk Date: Wed, 29 Jun 2011 16:30:31 +0000 (-0500) Subject: FS-3380 --resolve Bad calling conventions for Windows X-Git-Tag: v1.2-rc1~108^2^2~113 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3aaa6209b89552449bb47d26b93eab7a65583094;p=thirdparty%2Ffreeswitch.git FS-3380 --resolve Bad calling conventions for Windows --- diff --git a/src/switch_xml.c b/src/switch_xml.c index 21ac2666f0..f5880f18a5 100644 --- a/src/switch_xml.c +++ b/src/switch_xml.c @@ -141,7 +141,7 @@ static switch_mutex_t *REFLOCK = NULL; static switch_mutex_t *FILE_LOCK = NULL; static switch_mutex_t *XML_GEN_LOCK = NULL; -SWITCH_DECLARE(switch_xml_t) __switch_xml_open_root(uint8_t reload, const char **err, void *user_data); +SWITCH_DECLARE_NONSTD(switch_xml_t) __switch_xml_open_root(uint8_t reload, const char **err, void *user_data); static switch_xml_open_root_function_t XML_OPEN_ROOT_FUNCTION = (switch_xml_open_root_function_t)__switch_xml_open_root; static void *XML_OPEN_ROOT_FUNCTION_USER_DATA = NULL; @@ -2106,7 +2106,7 @@ SWITCH_DECLARE(switch_xml_t) switch_xml_open_root(uint8_t reload, const char **e return root; } -SWITCH_DECLARE(switch_xml_t) __switch_xml_open_root(uint8_t reload, const char **err, void *user_data) +SWITCH_DECLARE_NONSTD(switch_xml_t) __switch_xml_open_root(uint8_t reload, const char **err, void *user_data) { char path_buf[1024]; uint8_t errcnt = 0;