]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Fix windows build
authorJeff Lenk <jeff@jefflenk.com>
Wed, 2 Jun 2010 01:12:33 +0000 (20:12 -0500)
committerJeff Lenk <jeff@jefflenk.com>
Wed, 2 Jun 2010 01:12:33 +0000 (20:12 -0500)
src/include/switch_utils.h
src/switch_utils.c

index 77e676c26e014e9148b3d3affcb41b12d19fef75..cea216a7e43396418c6a269d57f4519357a7328e 100644 (file)
@@ -648,7 +648,7 @@ SWITCH_DECLARE(int) switch_number_cmp(const char *exp, int val);
   \return 1 if successfull
   \note Extended formats protocol:user@domain:port (Example: sip:toto@example.org)
 */
-int switch_split_user_domain(char *in, char **user, char **domain);
+SWITCH_DECLARE(int) switch_split_user_domain(char *in, char **user, char **domain);
 
 /* malloc or DIE macros */
 #ifdef NDEBUG
index fa30b714a7a7439a031dbe7e36115af9926336d7..123d8aa162081ac9320902b42bf6f66c0e899cab 100644 (file)
@@ -2349,7 +2349,7 @@ SWITCH_DECLARE(int) switch_number_cmp(const char *exp, int val)
 
 }
 
-int switch_split_user_domain(char *in, char **user, char **domain)
+SWITCH_DECLARE(int) switch_split_user_domain(char *in, char **user, char **domain)
 {
        char *p = NULL, *h = NULL, *u = in;