From 1d026ab2be525343fbd353b21c1acdb160385e65 Mon Sep 17 00:00:00 2001 From: Michael Veksler Date: Mon, 11 Dec 2017 13:54:41 +0000 Subject: ...G...PS. [ZBX-12671] refactoring the code base to support the compiler flag -Wstrict-prototypes --- include/threads.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/threads.h') diff --git a/include/threads.h b/include/threads.h index a311cc4921c..e1a7f8e8538 100644 --- a/include/threads.h +++ b/include/threads.h @@ -47,8 +47,8 @@ #else /* not _WINDOWS */ - int zbx_fork(); - int zbx_child_fork(); + int zbx_fork(void); + int zbx_child_fork(void); #define ZBX_THREAD_ERROR -1 @@ -87,6 +87,6 @@ zbx_thread_args_t; ZBX_THREAD_HANDLE zbx_thread_start(ZBX_THREAD_ENTRY_POINTER(handler), zbx_thread_args_t *thread_args); int zbx_thread_wait(ZBX_THREAD_HANDLE thread); /* zbx_thread_exit(status) -- declared as define !!! */ -long int zbx_get_thread_id(); +long int zbx_get_thread_id(void); #endif /* ZABBIX_THREADS_H */ -- cgit v1.2.3