summaryrefslogtreecommitdiffstats
path: root/sys/ddb/db_print.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1998-05-19 18:42:09 +0000
committerphk <phk@FreeBSD.org>1998-05-19 18:42:09 +0000
commitaf5985383486a23fcaee5d2383a4e8e08c7ae517 (patch)
tree69a258e014c3d5a2f816387bc5cf21db51846fb7 /sys/ddb/db_print.c
parentd796fafffb05725528e8ef3fae36c94378ac2d4d (diff)
downloadFreeBSD-src-af5985383486a23fcaee5d2383a4e8e08c7ae517.zip
FreeBSD-src-af5985383486a23fcaee5d2383a4e8e08c7ae517.tar.gz
Redo the previous commit in a more Bruce-friendly fashion.
Urged by: bde
Diffstat (limited to 'sys/ddb/db_print.c')
-rw-r--r--sys/ddb/db_print.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/sys/ddb/db_print.c b/sys/ddb/db_print.c
index c67c964..f6db84f 100644
--- a/sys/ddb/db_print.c
+++ b/sys/ddb/db_print.c
@@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: db_print.c,v 1.14 1997/06/14 11:52:36 bde Exp $
+ * $Id: db_print.c,v 1.15 1998/05/19 11:02:23 phk Exp $
*/
/*
@@ -35,6 +35,7 @@
* Miscellaneous printing.
*/
#include <sys/param.h>
+#include <sys/kernel.h>
#include <sys/msgbuf.h>
#include <ddb/ddb.h>
@@ -67,12 +68,7 @@ db_show_regs(dummy1, dummy2, dummy3, dummy4)
}
-void
-db_show_msgbuf(dummy1, dummy2, dummy3, dummy4)
- db_expr_t dummy1;
- boolean_t dummy2;
- db_expr_t dummy3;
- char * dummy4;
+DB_SHOW_COMMAND(msgbuf, db_show_msgbuf)
{
int i,j;
OpenPOWER on IntegriCloud