[Core] Fix regression in switch_utils after implementing unit-tests parallel.

This commit is contained in:
Andrey Volk 2020-01-23 18:08:08 +00:00
parent fb14a03924
commit c39a2b11ce
2 changed files with 2 additions and 2 deletions

View File

@ -1452,7 +1452,7 @@ SWITCH_DECLARE(void) switch_getcputime(switch_cputime *t);
SWITCH_DECLARE(char *)switch_html_strip(const char *str);
SWITCH_DECLARE(unsigned long) switch_getpid();
SWITCH_DECLARE(unsigned long) switch_getpid(void);
SWITCH_END_EXTERN_C
#endif

View File

@ -4534,7 +4534,7 @@ SWITCH_DECLARE(char *)switch_html_strip(const char *str)
return text;
}
SWITCH_DECLARE(unsigned long) switch_getpid()
SWITCH_DECLARE(unsigned long) switch_getpid(void)
{
#ifndef WIN32
pid_t pid = getpid();