]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[Core] Fix regression in switch_utils after implementing unit-tests parallel.
authorAndrey Volk <andywolk@gmail.com>
Thu, 23 Jan 2020 18:08:08 +0000 (18:08 +0000)
committerAndrey Volk <andywolk@gmail.com>
Thu, 23 Jan 2020 18:08:08 +0000 (18:08 +0000)
src/include/switch_utils.h
src/switch_utils.c

index 3e626c2065d5bdaf8fcac7fc8055439b3c9d0f22..5ff584bd0c2a5a2bc413e630193c45fde4cc421c 100644 (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
index 1dc0871b19350562c24a11e69fd4c66afb18b557..2e249d65931c01083d047bbea33d17a6b0817acb 100644 (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();