File: subr_prf.diff

package info (click to toggle)
freebsd-libs 10.3~svn296373-10
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 6,564 kB
  • ctags: 9,832
  • sloc: ansic: 107,913; makefile: 1,101; sh: 72
file content (28 lines) | stat: -rw-r--r-- 500 bytes parent folder | download | duplicates (2)
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