summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_clist.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1995-11-20 12:15:45 +0000
committerphk <phk@FreeBSD.org>1995-11-20 12:15:45 +0000
commit073917f90b539ad77f3d5ee1a5e237dbea5f5c54 (patch)
tree4a3ad9cc149f064bc59c757b47b5eef413d2c450 /sys/kern/subr_clist.c
parent1bec817e708095aff7608d457be14c58bcef6d2a (diff)
downloadFreeBSD-src-073917f90b539ad77f3d5ee1a5e237dbea5f5c54.zip
FreeBSD-src-073917f90b539ad77f3d5ee1a5e237dbea5f5c54.tar.gz
Put cbstat() under #ifdef DDB
Diffstat (limited to 'sys/kern/subr_clist.c')
-rw-r--r--sys/kern/subr_clist.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/kern/subr_clist.c b/sys/kern/subr_clist.c
index 133ced4..eaebf68 100644
--- a/sys/kern/subr_clist.c
+++ b/sys/kern/subr_clist.c
@@ -6,7 +6,7 @@
* of this software, nor does the author assume any responsibility
* for damages incurred with its use.
*
- * $Id: tty_subr.c,v 1.16 1995/11/01 15:59:55 peter Exp $
+ * $Id: tty_subr.c,v 1.17 1995/11/02 08:37:22 peter Exp $
*/
/*
@@ -38,8 +38,7 @@ static void cblock_alloc_cblocks __P((int number));
static void cblock_free __P((struct cblock *cblockp));
static void cblock_free_cblocks __P((int number));
-#define CBLOCK_DIAG
-#ifdef CBLOCK_DIAG
+#ifdef DDB
static void cbstat __P((void));
static void
@@ -50,7 +49,7 @@ cbstat()
ctotcount * CBSIZE, ctotcount * CBSIZE - cfreecount, cfreecount,
cfreecount - cslushcount * CBSIZE, cslushcount * CBSIZE);
}
-#endif
+#endif /* DDB */
/*
* Called from init_main.c
OpenPOWER on IntegriCloud