summaryrefslogtreecommitdiff
path: root/usr.bin/systat/vmstat.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 /usr.bin/systat/vmstat.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 'usr.bin/systat/vmstat.c')
-rw-r--r--usr.bin/systat/vmstat.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/usr.bin/systat/vmstat.c b/usr.bin/systat/vmstat.c
index ddb97741684..b6646dac09e 100644
--- a/usr.bin/systat/vmstat.c
+++ b/usr.bin/systat/vmstat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmstat.c,v 1.76 2014/04/08 14:04:11 mpi Exp $ */
+/* $OpenBSD: vmstat.c,v 1.77 2014/09/15 19:08:21 miod Exp $ */
/* $NetBSD: vmstat.c,v 1.5 1996/05/10 23:16:40 thorpej Exp $ */
/*-
@@ -35,14 +35,13 @@
*/
#include <sys/param.h>
-#include <sys/dkstat.h>
#include <sys/buf.h>
-#include <sys/stat.h>
-#include <sys/time.h>
-#include <sys/sysctl.h>
-#include <sys/proc.h>
#include <sys/namei.h>
+#include <sys/proc.h>
+#include <sys/sched.h>
+#include <sys/stat.h>
#include <sys/sysctl.h>
+#include <sys/time.h>
#include <sys/vmmeter.h>
#include <ctype.h>