diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2014-09-15 19:08:23 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2014-09-15 19:08:23 +0000 |
commit | d501a4d11c4ddbbda2648a1b99b18b3ba5c517c9 (patch) | |
tree | f230dea09fffef22e88d638e095a0ebddc30f930 /sbin/sysctl/sysctl.c | |
parent | 48a96baf09588f01ecd475330fefa34c86207442 (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 'sbin/sysctl/sysctl.c')
-rw-r--r-- | sbin/sysctl/sysctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/sysctl/sysctl.c b/sbin/sysctl/sysctl.c index e7bdcdfc473..12baf31ad38 100644 --- a/sbin/sysctl/sysctl.c +++ b/sbin/sysctl/sysctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sysctl.c,v 1.203 2014/08/16 21:39:16 deraadt Exp $ */ +/* $OpenBSD: sysctl.c,v 1.204 2014/09/15 19:08:21 miod Exp $ */ /* $NetBSD: sysctl.c,v 1.9 1995/09/30 07:12:50 thorpej Exp $ */ /* @@ -38,10 +38,10 @@ #include <sys/sysctl.h> #include <sys/socket.h> #include <sys/malloc.h> -#include <sys/dkstat.h> #include <sys/uio.h> #include <sys/tty.h> #include <sys/namei.h> +#include <sys/sched.h> #include <sys/sensors.h> #include <sys/vmmeter.h> #include <net/route.h> |