summaryrefslogtreecommitdiff
path: root/sys/kern/subr_clist.c
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1996-09-14 10:53:48 +0000
committerBruce Evans <bde@FreeBSD.org>1996-09-14 10:53:48 +0000
commit831031ce006ba1a31ac2b8d4a02b765ef71736de (patch)
treeb1186862e529ef12f30328de53e6db11cc3bf46c /sys/kern/subr_clist.c
parent6337f4efa89277ef1e67a8bf6f310ada97bc0d9b (diff)
Notes
Diffstat (limited to 'sys/kern/subr_clist.c')
-rw-r--r--sys/kern/subr_clist.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/kern/subr_clist.c b/sys/kern/subr_clist.c
index 0d175faf5298..7c04317c7f26 100644
--- a/sys/kern/subr_clist.c
+++ b/sys/kern/subr_clist.c
@@ -24,13 +24,12 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: tty_subr.c,v 1.21 1996/01/04 21:12:23 wollman Exp $
+ * $Id: tty_subr.c,v 1.22 1996/04/08 01:22:00 davidg Exp $
*/
/*
* clist support routines
*/
-#include "opt_ddb.h"
#include <sys/param.h>
#include <sys/kernel.h>
@@ -57,11 +56,11 @@ static void cblock_alloc_cblocks __P((int number));
static void cblock_free __P((struct cblock *cblockp));
static void cblock_free_cblocks __P((int number));
+#include "opt_ddb.h"
#ifdef DDB
-static void DDB_cbstat __P((void));
+#include <ddb/ddb.h>
-static void
-DDB_cbstat()
+DB_SHOW_COMMAND(cbstat, cbstat)
{
printf(
"tot = %d (active = %d, free = %d (reserved = %d, slush = %d))\n",