Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Veksler <Mihails.Vekslers@zabbix.com>2018-08-07 10:35:43 +0300
committerMichael Veksler <Mihails.Vekslers@zabbix.com>2018-08-07 10:35:43 +0300
commit7b8ac29d4213f0211a81c0b15cda621ec003fe93 (patch)
treeda96a9737eeb23622c3df857a699d205af53c6ba /include/zbxalgo.h
parentcf6558959781ac8a1bb20921fdb518dfce7147c5 (diff)
...G...PS. [DEV-699] rollback implementation of zbx_vector_XXX_clear_type()
Diffstat (limited to 'include/zbxalgo.h')
-rw-r--r--include/zbxalgo.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/zbxalgo.h b/include/zbxalgo.h
index 90414b60899..159786691d5 100644
--- a/include/zbxalgo.h
+++ b/include/zbxalgo.h
@@ -314,8 +314,7 @@ void zbx_vector_ ## __id ## _setdiff(zbx_vector_ ## __id ## _t *left, const zbx_
zbx_compare_func_t compare_func); \
\
void zbx_vector_ ## __id ## _reserve(zbx_vector_ ## __id ## _t *vector, size_t size); \
-void zbx_vector_ ## __id ## _clear(zbx_vector_ ## __id ## _t *vector); \
-void zbx_vector_ ## __id ## _clear_type(zbx_vector_ ## __id ## _t *vector, zbx_clean_type_ ## __id ## _func_t clean_func);
+void zbx_vector_ ## __id ## _clear(zbx_vector_ ## __id ## _t *vector);
#define ZBX_PTR_VECTOR_DECL(__id, __type) \
\
@@ -328,7 +327,6 @@ void zbx_vector_ ## __id ## _clear_ext(zbx_vector_ ## __id ## _t *vector, zbx_cl
/* and only if the vector does not contain nested allocations */ \
void zbx_ ## __id ## _free(__type data);
-
ZBX_VECTOR_DECL(uint64, zbx_uint64_t);
ZBX_PTR_VECTOR_DECL(str, char *);
ZBX_PTR_VECTOR_DECL(ptr, void *);