mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 07:45:26 +00:00
[mod_managed] Fix Windows build
This commit is contained in:
parent
dca7940fb9
commit
77c8557aa7
@ -1487,7 +1487,7 @@ SWITCH_DECLARE(unsigned long) switch_getpid(void);
|
||||
SWITCH_DECLARE(switch_status_t) switch_digest(const char *digest_name, unsigned char **digest, const void *input, switch_size_t inputLen, unsigned int *outputlen);
|
||||
SWITCH_DECLARE(switch_status_t) switch_digest_string(const char *digest_name, char **digest_str, const void *input, switch_size_t inputLen, unsigned int *outputlen);
|
||||
|
||||
char *switch_must_strdup(const char *_s);
|
||||
SWITCH_DECLARE(char *) switch_must_strdup(const char *_s);
|
||||
|
||||
SWITCH_END_EXTERN_C
|
||||
#endif
|
||||
|
@ -4639,7 +4639,7 @@ SWITCH_DECLARE(switch_status_t) switch_digest_string(const char *digest_name, ch
|
||||
return status;
|
||||
}
|
||||
|
||||
char *switch_must_strdup(const char *_s)
|
||||
SWITCH_DECLARE(char *) switch_must_strdup(const char *_s)
|
||||
{
|
||||
char *s = strdup(_s);
|
||||
switch_assert(s);
|
||||
|
Loading…
x
Reference in New Issue
Block a user