summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>2000-09-10 13:54:52 +0000
committerdfr <dfr@FreeBSD.org>2000-09-10 13:54:52 +0000
commitd721d5e1d634677d21d1e4dd99029cfaede17a09 (patch)
tree173ee6148d981a901d2a5bb135456cc1dab7a676 /sys/kern
parentbda6631159d812341f6580e946c1018370472ca5 (diff)
downloadFreeBSD-src-d721d5e1d634677d21d1e4dd99029cfaede17a09.zip
FreeBSD-src-d721d5e1d634677d21d1e4dd99029cfaede17a09.tar.gz
Move the include of <sys/systm.h> so that KTR gets a declaration for
snprintf().
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/imgact_elf.c2
-rw-r--r--sys/kern/init_main.c2
-rw-r--r--sys/kern/kern_sig.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/imgact_elf.c b/sys/kern/imgact_elf.c
index fd185f0..f692c80 100644
--- a/sys/kern/imgact_elf.c
+++ b/sys/kern/imgact_elf.c
@@ -44,12 +44,12 @@
#include <sys/proc.h>
#include <sys/procfs.h>
#include <sys/resourcevar.h>
+#include <sys/systm.h>
#include <sys/signalvar.h>
#include <sys/stat.h>
#include <sys/syscall.h>
#include <sys/sysctl.h>
#include <sys/sysent.h>
-#include <sys/systm.h>
#include <sys/vnode.h>
#include <vm/vm.h>
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index f5ae66c..105abd6 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -53,8 +53,8 @@
#include <sys/sysctl.h>
#include <sys/proc.h>
#include <sys/resourcevar.h>
-#include <sys/signalvar.h>
#include <sys/systm.h>
+#include <sys/signalvar.h>
#include <sys/vnode.h>
#include <sys/sysent.h>
#include <sys/reboot.h>
diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c
index a39a4c8..3f7e5d5 100644
--- a/sys/kern/kern_sig.c
+++ b/sys/kern/kern_sig.c
@@ -45,6 +45,7 @@
#include <sys/param.h>
#include <sys/kernel.h>
#include <sys/sysproto.h>
+#include <sys/systm.h>
#include <sys/signalvar.h>
#include <sys/resourcevar.h>
#include <sys/namei.h>
@@ -52,7 +53,6 @@
#include <sys/event.h>
#include <sys/proc.h>
#include <sys/pioctl.h>
-#include <sys/systm.h>
#include <sys/acct.h>
#include <sys/fcntl.h>
#include <sys/wait.h>
OpenPOWER on IntegriCloud