From: kstailey Date: Sat, 1 Mar 1997 21:24:46 +0000 (+0000) Subject: Allow building of kernels that do not keep malloc statistics via X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=4b6908881c99ff073d5946eceeda0dc8bf6f54cd;p=openbsd Allow building of kernels that do not keep malloc statistics via "options NO_KMEMSTATS" in the config file. Does not change default behavior. --- diff --git a/sys/sys/malloc.h b/sys/sys/malloc.h index 63743b5102d..4b87be6fa20 100644 --- 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