summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-10-31 02:00:13 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-10-31 02:00:13 +0000
commit0b52e540692f4f4fac7e33ec6cb618959a5f512d (patch)
tree044b94901f6eea2f88bace86e3423697d9cf928e /usr.bin
parent71649c0972e233491e207f54ab7ea41e6f1985e2 (diff)
sometimes we find .h we no longer need
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/systat/vmstat.c5
-rw-r--r--usr.bin/vmstat/vmstat.c3
-rw-r--r--usr.bin/w/w.c3
3 files changed, 5 insertions, 6 deletions
diff --git a/usr.bin/systat/vmstat.c b/usr.bin/systat/vmstat.c
index 13c13c7b809..80c57f81fe4 100644
--- a/usr.bin/systat/vmstat.c
+++ b/usr.bin/systat/vmstat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmstat.c,v 1.74 2013/05/14 20:39:25 miod Exp $ */
+/* $OpenBSD: vmstat.c,v 1.75 2013/10/31 02:00:11 deraadt Exp $ */
/* $NetBSD: vmstat.c,v 1.5 1996/05/10 23:16:40 thorpej Exp $ */
/*-
@@ -39,7 +39,7 @@
#include <sys/buf.h>
#include <sys/stat.h>
#include <sys/time.h>
-#include <sys/user.h>
+#include <sys/sysctl.h>
#include <sys/proc.h>
#include <sys/namei.h>
#include <sys/sysctl.h>
@@ -47,6 +47,7 @@
#include <uvm/uvm_extern.h>
#include <ctype.h>
+#include <errno.h>
#include <err.h>
#include <paths.h>
#include <signal.h>
diff --git a/usr.bin/vmstat/vmstat.c b/usr.bin/vmstat/vmstat.c
index d7a79f2f081..18cd0062536 100644
--- a/usr.bin/vmstat/vmstat.c
+++ b/usr.bin/vmstat/vmstat.c
@@ -1,5 +1,5 @@
/* $NetBSD: vmstat.c,v 1.29.4.1 1996/06/05 00:21:05 cgd Exp $ */
-/* $OpenBSD: vmstat.c,v 1.124 2013/10/08 03:04:17 guenther Exp $ */
+/* $OpenBSD: vmstat.c,v 1.125 2013/10/31 02:00:11 deraadt Exp $ */
/*
* Copyright (c) 1980, 1986, 1991, 1993
@@ -33,7 +33,6 @@
#include <sys/param.h>
#include <sys/time.h>
#include <sys/proc.h>
-#include <sys/user.h>
#include <sys/dkstat.h>
#include <sys/buf.h>
#include <sys/namei.h>
diff --git a/usr.bin/w/w.c b/usr.bin/w/w.c
index 9bcd411298f..c49c5087143 100644
--- a/usr.bin/w/w.c
+++ b/usr.bin/w/w.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: w.c,v 1.52 2013/08/22 04:43:41 guenther Exp $ */
+/* $OpenBSD: w.c,v 1.53 2013/10/31 02:00:12 deraadt Exp $ */
/*-
* Copyright (c) 1980, 1991, 1993, 1994
@@ -40,7 +40,6 @@
#include <sys/stat.h>
#include <sys/sysctl.h>
#include <sys/proc.h>
-#include <sys/user.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <sys/tty.h>