summaryrefslogtreecommitdiff
path: root/sys/kern/kern_malloc.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-08-17 23:40:00 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-08-17 23:40:00 +0000
commitfdaeb3d021ec2144bc6bf1bc3bd2686bdf31734a (patch)
treef279b590efa95c62af088401fc82405b147bacb4 /sys/kern/kern_malloc.c
parentd5ceb7a7c3d52f527568ddd196f62e0a2fed6fec (diff)
When this code was imported to NetBSD by Jason Thorpe he did a bunch of
useful changes (and a lot of cleanup). Bring in them.
Diffstat (limited to 'sys/kern/kern_malloc.c')
-rw-r--r--sys/kern/kern_malloc.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/kern/kern_malloc.c b/sys/kern/kern_malloc.c
index 8cfd6e52a65..7ee4413a02c 100644
--- a/sys/kern/kern_malloc.c
+++ b/sys/kern/kern_malloc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_malloc.c,v 1.37 2001/08/02 11:06:38 art Exp $ */
+/* $OpenBSD: kern_malloc.c,v 1.38 2001/08/17 23:39:58 art Exp $ */
/* $NetBSD: kern_malloc.c,v 1.15.4.2 1996/06/13 17:10:56 cgd Exp $ */
/*
@@ -66,12 +66,6 @@ char *memall = NULL;
extern struct lock sysctl_kmemlock;
#endif
-#ifdef MALLOC_DEBUG
-extern int debug_malloc __P((unsigned long, int, int, void **));
-extern int debug_free __P((void *, int));
-extern void debug_malloc_init __P((void));
-#endif
-
#ifdef DIAGNOSTIC
/*
* This structure provides a set of masks to catch unaligned frees.