From 073917f90b539ad77f3d5ee1a5e237dbea5f5c54 Mon Sep 17 00:00:00 2001 From: phk Date: Mon, 20 Nov 1995 12:15:45 +0000 Subject: Put cbstat() under #ifdef DDB --- sys/kern/subr_clist.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'sys/kern/subr_clist.c') 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 -- cgit v1.1