summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2013-11-11 23:07:15 +0000
committerderaadt <deraadt@openbsd.org>2013-11-11 23:07:15 +0000
commitd3de1cde796b1556594910449b621c788efe7f1a (patch)
tree11fb0f3e03919d8918314cabe520b92998dfdfc0
parent%lld for time_t even if division occurs (diff)
downloadwireguard-openbsd-d3de1cde796b1556594910449b621c788efe7f1a.tar.xz
wireguard-openbsd-d3de1cde796b1556594910449b621c788efe7f1a.zip
remove totally excessive set of #include
-rw-r--r--bin/ps/fmt.c10
-rw-r--r--bin/ps/print.c6
2 files changed, 3 insertions, 13 deletions
diff --git a/bin/ps/fmt.c b/bin/ps/fmt.c
index 35c1c01d7bc..1b7f7e38e04 100644
--- a/bin/ps/fmt.c
+++ b/bin/ps/fmt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fmt.c,v 1.10 2013/10/31 01:59:33 deraadt Exp $ */
+/* $OpenBSD: fmt.c,v 1.11 2013/11/11 23:07:15 deraadt Exp $ */
/*-
* Copyright (c) 1990, 1993, 1994
@@ -29,14 +29,8 @@
* SUCH DAMAGE.
*/
-#include <sys/param.h>
-#include <sys/time.h>
-#include <sys/resource.h>
-#include <sys/proc.h>
-#include <sys/stat.h>
-#include <sys/ioctl.h>
-#include <sys/sysctl.h>
#include <sys/types.h>
+#include <sys/resource.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/bin/ps/print.c b/bin/ps/print.c
index 835d345dadb..92ae064ba18 100644
--- a/bin/ps/print.c
+++ b/bin/ps/print.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: print.c,v 1.55 2013/09/22 17:28:34 guenther Exp $ */
+/* $OpenBSD: print.c,v 1.56 2013/11/11 23:07:15 deraadt Exp $ */
/* $NetBSD: print.c,v 1.27 1995/09/29 21:58:12 cgd Exp $ */
/*-
@@ -31,14 +31,10 @@
*/
#include <sys/param.h>
-#include <sys/time.h>
-#include <sys/resource.h>
#include <sys/proc.h>
#include <sys/stat.h>
-#include <sys/ucred.h>
#include <sys/sysctl.h>
-#include <uvm/uvm_extern.h>
#include <err.h>
#include <grp.h>