Package: freebsd-libs / 10.3~svn296373-10

subr_prf.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
--- a/sys/kern/subr_prf.c
+++ b/sys/kern/subr_prf.c
@@ -60,22 +60,22 @@
 #include <sys/syslog.h>
 #include <sys/cons.h>
 #include <sys/uio.h>
-#endif
 #include <sys/ctype.h>
+#endif
 #include <sys/sbuf.h>
 
 #ifdef DDB
 #include <ddb/ddb.h>
 #endif
 
+#ifdef _KERNEL
+
 /*
  * Note that stdarg.h and the ANSI style va_start macro is used for both
  * ANSI and traditional C compilers.
  */
 #include <machine/stdarg.h>
 
-#ifdef _KERNEL
-
 #define TOCONS	0x01
 #define TOTTY	0x02
 #define TOLOG	0x04