summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2015-11-24 13:37:17 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2015-11-24 13:37:17 +0000
commit37a6daf2960b4307d7f92853384985b2f9725837 (patch)
tree5228ae05258a3c75bf023752e75f2b5becc7cd13 /sys/net
parentb238270dddbb603abdcb5fae288b7375b2f740d2 (diff)
No need for <net/if_types.h>
As a bonus this removes a "#if NCARP > 0", say yeah!
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/bsd-comp.c3
-rw-r--r--sys/net/pf_ioctl.c3
-rw-r--r--sys/net/pf_lb.c3
-rw-r--r--sys/net/pf_norm.c3
-rw-r--r--sys/net/ppp_tty.c3
-rw-r--r--sys/net/trunklacp.c3
6 files changed, 6 insertions, 12 deletions
diff --git a/sys/net/bsd-comp.c b/sys/net/bsd-comp.c
index 39eb1f44ae8..3816a4faf88 100644
--- a/sys/net/bsd-comp.c
+++ b/sys/net/bsd-comp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bsd-comp.c,v 1.12 2015/10/07 18:29:35 deraadt Exp $ */
+/* $OpenBSD: bsd-comp.c,v 1.13 2015/11/24 13:37:16 mpi Exp $ */
/* $NetBSD: bsd-comp.c,v 1.6 1996/10/13 02:10:58 christos Exp $ */
/* Because this code is derived from the 4.3BSD compress source:
@@ -47,7 +47,6 @@
#include <sys/socket.h>
#include <net/if.h>
#include <net/if_var.h>
-#include <net/if_types.h>
#include <net/ppp_defs.h>
#include <net/if_ppp.h>
diff --git a/sys/net/pf_ioctl.c b/sys/net/pf_ioctl.c
index 5db63705beb..af262870907 100644
--- a/sys/net/pf_ioctl.c
+++ b/sys/net/pf_ioctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf_ioctl.c,v 1.293 2015/11/23 15:53:35 mpi Exp $ */
+/* $OpenBSD: pf_ioctl.c,v 1.294 2015/11/24 13:37:16 mpi Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -57,7 +57,6 @@
#include <net/if.h>
#include <net/if_var.h>
-#include <net/if_types.h>
#include <net/route.h>
#include <net/hfsc.h>
diff --git a/sys/net/pf_lb.c b/sys/net/pf_lb.c
index 9f5b5b6a436..9a449005157 100644
--- a/sys/net/pf_lb.c
+++ b/sys/net/pf_lb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf_lb.c,v 1.51 2015/10/15 19:48:44 bluhm Exp $ */
+/* $OpenBSD: pf_lb.c,v 1.52 2015/11/24 13:37:16 mpi Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -56,7 +56,6 @@
#include <crypto/siphash.h>
#include <net/if.h>
-#include <net/if_types.h>
#include <net/bpf.h>
#include <net/route.h>
diff --git a/sys/net/pf_norm.c b/sys/net/pf_norm.c
index 377f69e631f..79088964d49 100644
--- a/sys/net/pf_norm.c
+++ b/sys/net/pf_norm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf_norm.c,v 1.182 2015/09/10 08:28:31 mpi Exp $ */
+/* $OpenBSD: pf_norm.c,v 1.183 2015/11/24 13:37:16 mpi Exp $ */
/*
* Copyright 2001 Niels Provos <provos@citi.umich.edu>
@@ -51,7 +51,6 @@
#include <net/if.h>
#include <net/if_var.h>
-#include <net/if_types.h>
#include <net/if_pflog.h>
#ifdef INET6
diff --git a/sys/net/ppp_tty.c b/sys/net/ppp_tty.c
index cff9ca70206..feded849030 100644
--- a/sys/net/ppp_tty.c
+++ b/sys/net/ppp_tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ppp_tty.c,v 1.38 2015/09/13 17:53:44 mpi Exp $ */
+/* $OpenBSD: ppp_tty.c,v 1.39 2015/11/24 13:37:16 mpi Exp $ */
/* $NetBSD: ppp_tty.c,v 1.12 1997/03/24 21:23:10 christos Exp $ */
/*
@@ -115,7 +115,6 @@
#include <net/if.h>
#include <net/if_var.h>
-#include <net/if_types.h>
#ifdef VJC
#include <netinet/in.h>
diff --git a/sys/net/trunklacp.c b/sys/net/trunklacp.c
index 389585270a2..15d3842ab22 100644
--- a/sys/net/trunklacp.c
+++ b/sys/net/trunklacp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trunklacp.c,v 1.26 2015/10/05 13:00:04 mikeb Exp $ */
+/* $OpenBSD: trunklacp.c,v 1.27 2015/11/24 13:37:16 mpi Exp $ */
/* $NetBSD: ieee8023ad_lacp.c,v 1.3 2005/12/11 12:24:54 christos Exp $ */
/* $FreeBSD:ieee8023ad_lacp.c,v 1.15 2008/03/16 19:25:30 thompsa Exp $ */
@@ -47,7 +47,6 @@
#include <net/if.h>
#include <net/ethertypes.h>
#include <net/if_media.h>
-#include <net/if_types.h>
#include <netinet/in.h>
#include <netinet/if_ether.h>