Commit ea25084a authored by Jakob Bornecrantz's avatar Jakob Bornecrantz

thalloc: Remove reference function

Signed-off-by: default avatarJakob Bornecrantz <jakob@vmware.com>
parent 2ddc300f
......@@ -5,7 +5,6 @@
#ifndef _TALLOC_H_
#define _TALLOC_H_
#include <assert.h>
#include <string.h>
#include <stdarg.h>
#include <stdlib.h>
......@@ -40,12 +39,6 @@ talloc_realloc_size(const void *ctx, void *ptr, size_t size) {
return ret;
}
static inline void *
talloc_reference(const void *ctx, const void *ptr) {
assert(0);
return NULL;
}
#define talloc_set_destructor(_ctx, _des) h_set_destructor(_ctx, _des)
static inline void *
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment