diff options
author | Charles Longeau <chl@cvs.openbsd.org> | 2008-06-22 15:52:55 +0000 |
---|---|---|
committer | Charles Longeau <chl@cvs.openbsd.org> | 2008-06-22 15:52:55 +0000 |
commit | 820302ffd779bb4114b5022da13842de129911d3 (patch) | |
tree | 16c3ea26cfeacca2ed458e27ea7149dedf488a41 /sys | |
parent | 5e030ba6f1386b86ea1c56fcc17f2cb730b1a173 (diff) |
remove MALLOC and FREE macros, as they are no more used in the tree.
tested on non i386/amd64 archs by miod.
ok miod@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/malloc.h | 9 |
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; |