Fix windows build
This commit is contained in:
parent
3f7cafd709
commit
52f14165f8
|
@ -648,7 +648,7 @@ SWITCH_DECLARE(int) switch_number_cmp(const char *exp, int val);
|
||||||
\return 1 if successfull
|
\return 1 if successfull
|
||||||
\note Extended formats protocol:user@domain:port (Example: sip:toto@example.org)
|
\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 */
|
/* malloc or DIE macros */
|
||||||
#ifdef NDEBUG
|
#ifdef NDEBUG
|
||||||
|
|
|
@ -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;
|
char *p = NULL, *h = NULL, *u = in;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue