summaryrefslogtreecommitdiff
path: root/usr.bin/systat/cpu.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/cpu.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/cpu.c')
-rw-r--r--usr.bin/systat/cpu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/systat/cpu.c b/usr.bin/systat/cpu.c
index 5d10bf8e50c..512a8807db9 100644
--- a/usr.bin/systat/cpu.c
+++ b/usr.bin/systat/cpu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.c,v 1.2 2013/09/11 07:01:03 mpi Exp $ */
+/* $OpenBSD: cpu.c,v 1.3 2014/09/15 19:08:21 miod Exp $ */
/*
* Copyright (c) 2013 Reyk Floeter <reyk@openbsd.org>
@@ -47,7 +47,7 @@
*/
#include <sys/param.h>
-#include <sys/dkstat.h>
+#include <sys/sched.h>
#include <sys/sysctl.h>
#include <stdlib.h>