diff options
author | Vladislavs Sokurenko <vladislavs.sokurenko@zabbix.com> | 2018-06-07 11:47:24 +0300 |
---|---|---|
committer | Vladislavs Sokurenko <vladislavs.sokurenko@zabbix.com> | 2018-06-07 11:47:24 +0300 |
commit | 5cad889a8a4dac4d0141e9b5afc11633c4ef68a4 (patch) | |
tree | 6b243616d9c90f958e03e3bcec7dd3e2aec121ff /tests/libs/zbxdbcache | |
parent | e16eada7cf0329ff5bac2715a5ceb639d6ded6ac (diff) |
.......PS. [ZBXNEXT-4577] type definitions instead of defines
Diffstat (limited to 'tests/libs/zbxdbcache')
-rw-r--r-- | tests/libs/zbxdbcache/valuecache_mock.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/libs/zbxdbcache/valuecache_mock.c b/tests/libs/zbxdbcache/valuecache_mock.c index 4ade93a7629..08f18c4a88f 100644 --- a/tests/libs/zbxdbcache/valuecache_mock.c +++ b/tests/libs/zbxdbcache/valuecache_mock.c @@ -467,12 +467,12 @@ void zbx_vcmock_free_dc_history(void *ptr) * mock functions */ -static ZBX_MUTEX *vc_mutex = NULL; +static zbx_mutex_t *vc_mutex = NULL; zbx_mem_info_t *vc_meminfo = NULL; static size_t vcmock_mem = ZBX_MEBIBYTE * 1024; -int __wrap_zbx_mutex_create(ZBX_MUTEX *mutex, ZBX_MUTEX_NAME name, char **error) +int __wrap_zbx_mutex_create(zbx_mutex_t *mutex, zbx_mutex_name_t name, char **error) { vc_mutex = mutex; ZBX_UNUSED(name); @@ -481,7 +481,7 @@ int __wrap_zbx_mutex_create(ZBX_MUTEX *mutex, ZBX_MUTEX_NAME name, char **error) return SUCCEED; } -void __wrap_zbx_mutex_destroy(ZBX_MUTEX *mutex) +void __wrap_zbx_mutex_destroy(zbx_mutex_t *mutex) { zbx_mock_assert_ptr_eq("Attempting to destroy unknown mutex", vc_mutex, mutex); } |