Fix windows build

This commit is contained in:
Jeff Lenk 2010-06-01 20:12:33 -05:00
parent 3f7cafd709
commit 52f14165f8
2 changed files with 2 additions and 2 deletions

View 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

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