artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b00d960
)
Allow building of kernels that do not keep malloc statistics via
author
kstailey
<kstailey@openbsd.org>
Sat, 1 Mar 1997 21:24:46 +0000
(21:24 +0000)
committer
kstailey
<kstailey@openbsd.org>
Sat, 1 Mar 1997 21:24:46 +0000
(21:24 +0000)
"options NO_KMEMSTATS" in the config file.
Does not change default behavior.
sys/sys/malloc.h
patch
|
blob
|
history
diff --git
a/sys/sys/malloc.h
b/sys/sys/malloc.h
index
63743b5
..
4b87be6
100644
(file)
--- a/
sys/sys/malloc.h
+++ b/
sys/sys/malloc.h
@@
-1,4
+1,4
@@
-/* $OpenBSD: malloc.h,v 1.
9 1997/02/20 01:07:34 deraadt Exp $
*/
+/* $OpenBSD: malloc.h,v 1.
10 1997/03/01 21:24:46 kstailey Exp $
*/
/* $NetBSD: malloc.h,v 1.23 1996/04/05 04:52:52 mhitch Exp $ */
/*
@@
-39,7
+39,9
@@
#ifndef _SYS_MALLOC_H_
#define _SYS_MALLOC_H_
+#ifndef NO_KMEMSTATS
#define KMEMSTATS
+#endif
/*
* flags to malloc