diff options
author | Glebs Ivanovskis <git-no-reply@zabbix.com> | 2017-02-07 18:56:40 +0300 |
---|---|---|
committer | Glebs Ivanovskis <git-no-reply@zabbix.com> | 2017-02-07 18:56:40 +0300 |
commit | 73d789c423710a012fae1d9e5d6a76ea22ef588a (patch) | |
tree | aea01e53b0068ad80324a1ec197eeacdeff85c25 /include/memalloc.h | |
parent | b1b71d3dbd7fd79e006701bac117a783cfd48130 (diff) |
.......PS. [ZBXNEXT-3687] removed locking inside zbxmemory since it wasn't used; removed shared memory destruction functions since we mark our segments for removal right after creation
Diffstat (limited to 'include/memalloc.h')
-rw-r--r-- | include/memalloc.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/memalloc.h b/include/memalloc.h index 53143b8786a..ce7f46eb453 100644 --- a/include/memalloc.h +++ b/include/memalloc.h @@ -33,7 +33,6 @@ typedef struct zbx_uint64_t orig_size; zbx_uint64_t total_size; int shm_id; - char use_lock; /* Continue execution in out of memory situation. */ /* Normally allocator forces exit when it runs out of allocatable memory. */ @@ -47,7 +46,6 @@ typedef struct zbx_mem_info_t; void zbx_mem_create(zbx_mem_info_t **info, zbx_uint64_t size, const char *descr, const char *param, int allow_oom); -void zbx_mem_destroy(zbx_mem_info_t *info); #define zbx_mem_malloc(info, old, size) __zbx_mem_malloc(__FILE__, __LINE__, info, old, size) #define zbx_mem_realloc(info, old, size) __zbx_mem_realloc(__FILE__, __LINE__, info, old, size) |