diff options
author | Michael Veksler <Mihails.Vekslers@zabbix.com> | 2018-06-13 09:39:54 +0300 |
---|---|---|
committer | Michael Veksler <Mihails.Vekslers@zabbix.com> | 2018-06-13 09:39:54 +0300 |
commit | 1c4c4042b9788c6fdd63c92d21f1ab77fa84437e (patch) | |
tree | ea5a889f3b761025d65425b1fdf28534202d8b05 /include/zbxalgo.h | |
parent | d93784fa2168df7594ccd597d4a3713f49863797 (diff) |
.......... [DEV-699] reverted all changes
Diffstat (limited to 'include/zbxalgo.h')
-rw-r--r-- | include/zbxalgo.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/include/zbxalgo.h b/include/zbxalgo.h index 4dda1944cb9..181cead1766 100644 --- a/include/zbxalgo.h +++ b/include/zbxalgo.h @@ -272,8 +272,6 @@ void zbx_binary_heap_clear(zbx_binary_heap_t *heap); #define ZBX_VECTOR_DECL(__id, __type) \ \ -typedef void (*zbx_clean_ ## __id ## _func_t)(__type *data); \ - \ typedef struct \ { \ __type *values; \ @@ -314,9 +312,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_ ## __id ## _func_t clean_func); - +void zbx_vector_ ## __id ## _clear(zbx_vector_ ## __id ## _t *vector); #define ZBX_PTR_VECTOR_DECL(__id, __type) \ \ @@ -350,7 +346,7 @@ unsigned int zbx_isqrt32(unsigned int value); #define ZBX_UNKNOWN_STR_LEN ZBX_CONST_STRLEN(ZBX_UNKNOWN_STR) int evaluate(double *value, const char *expression, char *error, size_t max_error_len, - zbx_vector_str_t *unknown_msgs); + zbx_vector_ptr_t *unknown_msgs); /* forecasting */ |