summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-01-04 20:15:32 +0000
committerphk <phk@FreeBSD.org>2003-01-04 20:15:32 +0000
commitbc8317a9ccc24ec3221daec3d347cdbda528939c (patch)
tree1cbc9b8e5acc48fe13a6ea22fe7422938bffffc5
parent6412b92ef7a10e811f478739afe299ba4d55a770 (diff)
downloadFreeBSD-src-bc8317a9ccc24ec3221daec3d347cdbda528939c.zip
FreeBSD-src-bc8317a9ccc24ec3221daec3d347cdbda528939c.tar.gz
Move #include of ddb/ddb.h up with the rest.
-rw-r--r--sys/kern/subr_prf.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/kern/subr_prf.c b/sys/kern/subr_prf.c
index e8cef1b..8e1c7b8 100644
--- a/sys/kern/subr_prf.c
+++ b/sys/kern/subr_prf.c
@@ -39,6 +39,8 @@
* $FreeBSD$
*/
+#include "opt_ddb.h"
+
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/lock.h>
@@ -56,6 +58,10 @@
#include <sys/cons.h>
#include <sys/uio.h>
+#ifdef DDB
+#include <ddb/ddb.h>
+#endif
+
/*
* Note that stdarg.h and the ANSI style va_start macro is used for both
* ANSI and traditional C compilers.
@@ -900,9 +906,7 @@ SYSCTL_PROC(_kern, OID_AUTO, msgbuf_clear,
CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_SECURE, &msgbuf_clear, 0,
sysctl_kern_msgbuf_clear, "I", "Clear kernel message buffer");
-#include "opt_ddb.h"
#ifdef DDB
-#include <ddb/ddb.h>
DB_SHOW_COMMAND(msgbuf, db_show_msgbuf)
{
OpenPOWER on IntegriCloud