summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@vmware.com>2011-01-19 02:28:57 +0100
committerJakob Bornecrantz <jakob@vmware.com>2011-01-19 02:29:24 +0100
commitea25084a1004fb70f2927117c7a2402058f3dcb7 (patch)
tree131e49343c05d6415804ffdf30b8d80d137a3a93
parent2ddc300fe59cbf58ff61aadc82710d21229c05cb (diff)
downloadmesa-thalloc.tar.gz
thalloc: Remove reference functionthalloc
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
-rw-r--r--src/thalloc/talloc.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/thalloc/talloc.h b/src/thalloc/talloc.h
index a295eb0091d..3cdc89fd2b4 100644
--- a/src/thalloc/talloc.h
+++ b/src/thalloc/talloc.h
@@ -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 *