diff options
author | Michael Veksler <Mihails.Vekslers@zabbix.com> | 2017-12-11 16:54:41 +0300 |
---|---|---|
committer | Michael Veksler <Mihails.Vekslers@zabbix.com> | 2017-12-11 16:54:41 +0300 |
commit | 1d026ab2be525343fbd353b21c1acdb160385e65 (patch) | |
tree | 3cbaed30a55757a47562450713580716cd489503 /include/threads.h | |
parent | 82a5f5d62d8ca710344d166365952fe4687e438d (diff) |
...G...PS. [ZBX-12671] refactoring the code base to support the compiler flag -Wstrict-prototypes
Diffstat (limited to 'include/threads.h')
-rw-r--r-- | include/threads.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 */ |