summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/malloc.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/sys/malloc.h b/sys/sys/malloc.h
index bd495c312d6..2f3e20cacfe 100644
--- a/sys/sys/malloc.h
+++ b/sys/sys/malloc.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: malloc.h,v 1.91 2008/06/08 17:20:52 art Exp $ */
+/* $OpenBSD: malloc.h,v 1.92 2008/06/22 15:52:54 chl Exp $ */
/* $NetBSD: malloc.h,v 1.39 1998/07/12 19:52:01 augustss Exp $ */
/*
@@ -400,13 +400,6 @@ struct kmembuckets {
#define btokmemx(addr) (((caddr_t)(addr) - kmembase) / NBPG)
#define btokup(addr) (&kmemusage[((caddr_t)(addr) - kmembase) >> PAGE_SHIFT])
-/*
- * Macro versions for the usual cases of malloc/free
- */
-#define MALLOC(space, cast, size, type, flags) \
- (space) = (cast)malloc((u_long)(size), type, flags)
-#define FREE(addr, type) free((caddr_t)(addr), type)
-
extern struct kmemstats kmemstats[];
extern struct kmemusage *kmemusage;
extern char *kmembase;