summaryrefslogtreecommitdiff
path: root/sys/kern/kern_sysctl.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2014-09-15 19:08:23 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2014-09-15 19:08:23 +0000
commitd501a4d11c4ddbbda2648a1b99b18b3ba5c517c9 (patch)
treef230dea09fffef22e88d638e095a0ebddc30f930 /sys/kern/kern_sysctl.c
parent48a96baf09588f01ecd475330fefa34c86207442 (diff)
Remove non-standard <sys/dkstat.h> header. It has not contained anything
related to disk stastics for almost 17 years, and the remaining userland-visible defines duplicate those found in <sys/sched.h>. Move the remaining _KERNEL defines to <sys/tty.h> where they belong, and update all users to cope with this. ok kettenis@
Diffstat (limited to 'sys/kern/kern_sysctl.c')
-rw-r--r--sys/kern/kern_sysctl.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/kern/kern_sysctl.c b/sys/kern/kern_sysctl.c
index c6fd7617fce..433f4d05098 100644
--- a/sys/kern/kern_sysctl.c
+++ b/sys/kern/kern_sysctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_sysctl.c,v 1.263 2014/09/04 19:14:47 miod Exp $ */
+/* $OpenBSD: kern_sysctl.c,v 1.264 2014/09/15 19:08:21 miod Exp $ */
/* $NetBSD: kern_sysctl.c,v 1.17 1996/05/20 17:49:05 mrg Exp $ */
/*-
@@ -58,7 +58,6 @@
#include <sys/disk.h>
#include <sys/sysctl.h>
#include <sys/msgbuf.h>
-#include <sys/dkstat.h>
#include <sys/vmmeter.h>
#include <sys/namei.h>
#include <sys/exec.h>
@@ -74,7 +73,7 @@
#include <sys/evcount.h>
#include <sys/un.h>
#include <sys/unpcb.h>
-
+#include <sys/sched.h>
#include <sys/mount.h>
#include <sys/syscallargs.h>