summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2015-01-20 18:26:59 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2015-01-20 18:26:59 +0000
commitd6c8b32347fc87a189709a2a67f355a7a7107605 (patch)
tree4749000d66f9f8e777bf35bdb9cd0e92f8b0bd31 /usr.bin
parent75464c95446f6c87f0610534204fc2e6c8f18056 (diff)
Adjust <sys/param.h> comments regarding use of use of MSIZE, or
delete <sys/param.h> if now possible ok guenther
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/netstat/mbuf.c5
-rw-r--r--usr.bin/netstat/unix.c5
-rw-r--r--usr.bin/systat/mbufs.c3
-rw-r--r--usr.bin/systat/netstat.c3
4 files changed, 6 insertions, 10 deletions
diff --git a/usr.bin/netstat/mbuf.c b/usr.bin/netstat/mbuf.c
index 5d19182215a..4916d60a147 100644
--- a/usr.bin/netstat/mbuf.c
+++ b/usr.bin/netstat/mbuf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mbuf.c,v 1.34 2015/01/16 06:40:10 deraadt Exp $ */
+/* $OpenBSD: mbuf.c,v 1.35 2015/01/20 18:26:57 deraadt Exp $ */
/* $NetBSD: mbuf.c,v 1.9 1996/05/07 02:55:03 thorpej Exp $ */
/*
@@ -30,10 +30,9 @@
* SUCH DAMAGE.
*/
-#include <sys/param.h> /* MSIZE */
-#include <sys/protosw.h>
#include <sys/socket.h>
#include <sys/mbuf.h>
+#include <sys/protosw.h>
#include <sys/pool.h>
#include <sys/sysctl.h>
#include <net/if.h>
diff --git a/usr.bin/netstat/unix.c b/usr.bin/netstat/unix.c
index c422a30b6b6..27ed2816812 100644
--- a/usr.bin/netstat/unix.c
+++ b/usr.bin/netstat/unix.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: unix.c,v 1.24 2015/01/16 06:40:10 deraadt Exp $ */
+/* $OpenBSD: unix.c,v 1.25 2015/01/20 18:26:57 deraadt Exp $ */
/* $NetBSD: unix.c,v 1.13 1995/10/03 21:42:48 thorpej Exp $ */
/*-
@@ -33,10 +33,9 @@
/*
* Display protocol blocks in the unix domain.
*/
-#include <sys/param.h> /* MSIZE */
-#include <sys/protosw.h>
#include <sys/socket.h>
#include <sys/socketvar.h>
+#include <sys/protosw.h>
#include <sys/mbuf.h>
#include <sys/sysctl.h>
#include <sys/un.h>
diff --git a/usr.bin/systat/mbufs.c b/usr.bin/systat/mbufs.c
index e9b2fe315ba..723cac82552 100644
--- a/usr.bin/systat/mbufs.c
+++ b/usr.bin/systat/mbufs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mbufs.c,v 1.38 2015/01/16 00:03:37 deraadt Exp $ */
+/* $OpenBSD: mbufs.c,v 1.39 2015/01/20 18:26:57 deraadt Exp $ */
/*
* Copyright (c) 2008 Can Erkin Acar <canacar@openbsd.org>
*
@@ -15,7 +15,6 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <sys/param.h> /* MSIZE */
#include <sys/signal.h>
#include <sys/socket.h>
#include <sys/sysctl.h>
diff --git a/usr.bin/systat/netstat.c b/usr.bin/systat/netstat.c
index e40bc186c19..6c418ee26ea 100644
--- a/usr.bin/systat/netstat.c
+++ b/usr.bin/systat/netstat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: netstat.c,v 1.43 2015/01/16 00:03:37 deraadt Exp $ */
+/* $OpenBSD: netstat.c,v 1.44 2015/01/20 18:26:57 deraadt Exp $ */
/* $NetBSD: netstat.c,v 1.3 1995/06/18 23:53:07 cgd Exp $ */
/*-
@@ -34,7 +34,6 @@
* netstat
*/
-#include <sys/param.h> /* MSIZE */
#include <sys/signal.h>
#include <sys/socket.h>
#include <sys/socketvar.h>