diff options
author | Michael Veksler <Mihails.Vekslers@zabbix.com> | 2018-09-07 10:31:55 +0300 |
---|---|---|
committer | Michael Veksler <Mihails.Vekslers@zabbix.com> | 2018-09-07 10:31:55 +0300 |
commit | de21fc1c8dcc93f6e14c3b635f27c30d29193c40 (patch) | |
tree | 20b60b33244cc8151ab4593ced917e6d56649f12 /include/zbxalgo.h | |
parent | 43f2c3b5a8b8a1ca4758094859dca8b0627fa98e (diff) | |
parent | 545f8f38c7f0b3963344cf2f8f4fbee2737df4be (diff) |
.......... [DEV-699] updated to the latest trunk
Diffstat (limited to 'include/zbxalgo.h')
-rw-r--r-- | include/zbxalgo.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/zbxalgo.h b/include/zbxalgo.h index 14e0a5d6283..0bb9bec37dc 100644 --- a/include/zbxalgo.h +++ b/include/zbxalgo.h @@ -316,17 +316,17 @@ void zbx_vector_ ## __id ## _clear(zbx_vector_ ## __id ## _t *vector); #define ZBX_PTR_VECTOR_DECL(__id, __type) \ \ -ZBX_VECTOR_DECL(__id, __type); \ +ZBX_VECTOR_DECL(__id, __type) \ \ typedef void (*zbx_ ## __id ## _free_func_t)(__type data); \ \ void zbx_vector_ ## __id ## _clear_ext(zbx_vector_ ## __id ## _t *vector, zbx_ ## __id ## _free_func_t free_func); -ZBX_VECTOR_DECL(uint64, zbx_uint64_t); -ZBX_PTR_VECTOR_DECL(str, char *); -ZBX_PTR_VECTOR_DECL(ptr, void *); -ZBX_VECTOR_DECL(ptr_pair, zbx_ptr_pair_t); -ZBX_VECTOR_DECL(uint64_pair, zbx_uint64_pair_t); +ZBX_VECTOR_DECL(uint64, zbx_uint64_t) +ZBX_PTR_VECTOR_DECL(str, char *) +ZBX_PTR_VECTOR_DECL(ptr, void *) +ZBX_VECTOR_DECL(ptr_pair, zbx_ptr_pair_t) +ZBX_VECTOR_DECL(uint64_pair, zbx_uint64_pair_t) /* this function is only for use with zbx_vector_XXX_clear_ext() */ /* and only if the vector does not contain nested allocations */ |