From: deraadt Date: Tue, 20 Jan 2015 18:26:57 +0000 (+0000) Subject: Adjust comments regarding use of use of MSIZE, or X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=52a421fc3f8fc8f10bb794f9e4883e5dcce4fa22;p=openbsd Adjust comments regarding use of use of MSIZE, or delete if now possible ok guenther --- 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 /* MSIZE */ -#include #include #include +#include #include #include #include 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 /* MSIZE */ -#include #include #include +#include #include #include #include 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 * @@ -15,7 +15,6 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include /* MSIZE */ #include #include #include 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 /* MSIZE */ #include #include #include diff --git a/usr.sbin/tcpdump/pf_print_state.c b/usr.sbin/tcpdump/pf_print_state.c index c6971fcdba5..fb1e97873c4 100644 --- a/usr.sbin/tcpdump/pf_print_state.c +++ b/usr.sbin/tcpdump/pf_print_state.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf_print_state.c,v 1.11 2012/07/08 17:48:37 lteo Exp $ */ +/* $OpenBSD: pf_print_state.c,v 1.12 2015/01/20 18:26:58 deraadt Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -34,6 +34,7 @@ #include #include #define TCPSTATES +#include #include #include #include diff --git a/usr.sbin/tcpdump/pfctl_osfp.c b/usr.sbin/tcpdump/pfctl_osfp.c index ccc7dfb3deb..95a4d9f5bd8 100644 --- a/usr.sbin/tcpdump/pfctl_osfp.c +++ b/usr.sbin/tcpdump/pfctl_osfp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl_osfp.c,v 1.9 2014/08/14 12:44:44 mpi Exp $ */ +/* $OpenBSD: pfctl_osfp.c,v 1.10 2015/01/20 18:26:58 deraadt Exp $ */ /* * Copyright (c) 2003 Mike Frantzen @@ -20,6 +20,9 @@ #include #include +#include +#include +#include #include #include @@ -30,8 +33,6 @@ #include #include -#include -#include #include "privsep.h" #include "pfctl_parser.h" diff --git a/usr.sbin/tcpdump/print-enc.c b/usr.sbin/tcpdump/print-enc.c index d2b64e26fe5..a7039125864 100644 --- a/usr.sbin/tcpdump/print-enc.c +++ b/usr.sbin/tcpdump/print-enc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: print-enc.c,v 1.13 2015/01/16 06:40:21 deraadt Exp $ */ +/* $OpenBSD: print-enc.c,v 1.14 2015/01/20 18:26:58 deraadt Exp $ */ /* * Copyright (c) 1990, 1991, 1993, 1994, 1995, 1996 @@ -21,7 +21,7 @@ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#include /* MSIZE */ +#include #include #include #include diff --git a/usr.sbin/tcpdump/print-pflog.c b/usr.sbin/tcpdump/print-pflog.c index df7c3d2dc7e..3b29501841e 100644 --- a/usr.sbin/tcpdump/print-pflog.c +++ b/usr.sbin/tcpdump/print-pflog.c @@ -1,4 +1,4 @@ -/* $OpenBSD: print-pflog.c,v 1.26 2015/01/16 06:40:21 deraadt Exp $ */ +/* $OpenBSD: print-pflog.c,v 1.27 2015/01/20 18:26:58 deraadt Exp $ */ /* * Copyright (c) 1990, 1991, 1993, 1994, 1995, 1996 @@ -21,7 +21,7 @@ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#include /* MSIZE MAXCOMLEN */ +#include /* MAXCOMLEN */ #include #include #include @@ -34,13 +34,12 @@ #endif struct rtentry; -#include -#include #include #include - +#include #include +#include #include diff --git a/usr.sbin/tcpdump/privsep.c b/usr.sbin/tcpdump/privsep.c index 237af086a13..da9dfd58867 100644 --- a/usr.sbin/tcpdump/privsep.c +++ b/usr.sbin/tcpdump/privsep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: privsep.c,v 1.31 2015/01/16 06:40:22 deraadt Exp $ */ +/* $OpenBSD: privsep.c,v 1.32 2015/01/20 18:26:58 deraadt Exp $ */ /* * Copyright (c) 2003 Can Erkin Acar @@ -21,11 +21,11 @@ #include #include -#include -#include -#include #include +#include #include +#include +#include #include