diff options
author | Michael Veksler <Mihails.Vekslers@zabbix.com> | 2018-08-28 10:45:38 +0300 |
---|---|---|
committer | Michael Veksler <Mihails.Vekslers@zabbix.com> | 2018-08-28 10:45:38 +0300 |
commit | d29b417b769f743432730c0a4d6fc7274ed33fea (patch) | |
tree | 634a03debb52a086da52ee9b5196db91f8f4dca7 | |
parent | 34f779e22cdb92d9d50b223701c6624ce1df8ae0 (diff) |
........S. [DEV-898] refactoring of 'void' for functions prototype
-rw-r--r-- | include/sysinfo.h | 2 | ||||
-rw-r--r-- | src/libs/zbxdbcache/dbconfig.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/sysinfo.h b/include/sysinfo.h index a03d332f3f3..b1592168c14 100644 --- a/include/sysinfo.h +++ b/include/sysinfo.h @@ -307,7 +307,7 @@ int zbx_execute_threaded_metric(zbx_metric_func_t metric_func, AGENT_REQUEST *re #define ZBX_MUTEX_ALL_ALLOW 0 #define ZBX_MUTEX_THREAD_DENIED 1 #define ZBX_MUTEX_LOGGING_DENIED 2 -zbx_uint32_t get_thread_global_mutex_flag(); +zbx_uint32_t get_thread_global_mutex_flag(void); #endif #endif diff --git a/src/libs/zbxdbcache/dbconfig.h b/src/libs/zbxdbcache/dbconfig.h index 9666abf23e8..4d681eb0a11 100644 --- a/src/libs/zbxdbcache/dbconfig.h +++ b/src/libs/zbxdbcache/dbconfig.h @@ -796,7 +796,7 @@ char *zbx_dc_expand_user_macros(const char *text, zbx_uint64_t *hostids, int hos void zbx_dc_get_hostids_by_functionids(const zbx_uint64_t *functionids, int functionids_num, zbx_vector_uint64_t *hostids); -void DCdump_configuration(); +void DCdump_configuration(void); /* utility functions */ void *DCfind_id(zbx_hashset_t *hashset, zbx_uint64_t id, size_t size, int *found); |