diff options
-rw-r--r-- | usr.bin/netstat/mbuf.c | 5 | ||||
-rw-r--r-- | usr.bin/netstat/unix.c | 5 | ||||
-rw-r--r-- | usr.bin/systat/mbufs.c | 3 | ||||
-rw-r--r-- | usr.bin/systat/netstat.c | 3 | ||||
-rw-r--r-- | usr.sbin/tcpdump/pf_print_state.c | 3 | ||||
-rw-r--r-- | usr.sbin/tcpdump/pfctl_osfp.c | 7 | ||||
-rw-r--r-- | usr.sbin/tcpdump/print-enc.c | 4 | ||||
-rw-r--r-- | usr.sbin/tcpdump/print-pflog.c | 9 | ||||
-rw-r--r-- | usr.sbin/tcpdump/privsep.c | 8 |
9 files changed, 22 insertions, 25 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> 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 <sys/socket.h> #include <net/if.h> #define TCPSTATES +#include <netinet/in.h> #include <netinet/tcp_fsm.h> #include <net/pfvar.h> #include <arpa/inet.h> 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 <frantzen@openbsd.org> @@ -20,6 +20,9 @@ #include <sys/ioctl.h> #include <sys/socket.h> +#include <netinet/in.h> +#include <netinet/ip.h> +#include <netinet/ip6.h> #include <net/if.h> #include <net/pfvar.h> @@ -30,8 +33,6 @@ #include <stdlib.h> #include <string.h> -#include <netinet/ip.h> -#include <netinet/ip6.h> #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 <sys/param.h> /* MSIZE */ +#include <sys/param.h> #include <sys/time.h> #include <sys/socket.h> #include <sys/file.h> 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 <sys/param.h> /* MSIZE MAXCOMLEN */ +#include <sys/param.h> /* MAXCOMLEN */ #include <sys/time.h> #include <sys/socket.h> #include <sys/file.h> @@ -34,13 +34,12 @@ #endif struct rtentry; -#include <net/if.h> -#include <net/if_pflog.h> #include <netinet/in.h> #include <netinet/ip.h> - +#include <net/if.h> #include <net/pfvar.h> +#include <net/if_pflog.h> #include <arpa/inet.h> 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 <sys/socket.h> #include <sys/wait.h> -#include <net/bpf.h> -#include <net/if.h> -#include <net/pfvar.h> #include <netinet/in.h> +#include <net/if.h> #include <netinet/if_ether.h> +#include <net/bpf.h> +#include <net/pfvar.h> #include <rpc/rpc.h> |