Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys Remove now unused net_osdep.h includes, the...
details: https://anonhg.NetBSD.org/src/rev/bd8df397ce47
branches: trunk
changeset: 318602:bd8df397ce47
user: maxv <maxv%NetBSD.org@localhost>
date: Tue May 01 07:21:39 2018 +0000
description:
Remove now unused net_osdep.h includes, the other BSDs did the same.
diffstat:
sys/net/if_faith.c | 7 ++-----
sys/net/if_gif.c | 6 ++----
sys/net/if_l2tp.c | 5 ++---
sys/net/if_stf.c | 6 ++----
sys/netinet/if_arp.c | 5 ++---
sys/netinet/in_gif.c | 6 ++----
sys/netinet/in_l2tp.c | 6 ++----
sys/netinet/ip_encap.c | 6 ++----
sys/netinet/sctp_indata.c | 6 ++----
sys/netinet/sctp_input.c | 6 ++----
sys/netinet/sctp_output.c | 6 ++----
sys/netinet/sctp_timer.c | 6 ++----
sys/netinet/sctp_usrreq.c | 6 ++----
sys/netinet6/frag6.c | 6 ++----
sys/netinet6/icmp6.c | 6 ++----
sys/netinet6/in6.c | 6 ++----
sys/netinet6/in6_gif.c | 6 ++----
sys/netinet6/in6_ifattach.c | 6 ++----
sys/netinet6/in6_src.c | 6 ++----
sys/netinet6/ip6_forward.c | 6 ++----
sys/netinet6/ip6_input.c | 6 ++----
sys/netinet6/ip6_mroute.c | 6 ++----
sys/netinet6/ip6_output.c | 7 ++-----
sys/netinet6/mld6.c | 7 ++-----
sys/netinet6/nd6.c | 6 ++----
sys/netinet6/nd6_nbr.c | 6 ++----
sys/netinet6/nd6_rtr.c | 6 ++----
sys/netinet6/scope6.c | 5 ++---
sys/netinet6/sctp6_usrreq.c | 6 ++----
29 files changed, 58 insertions(+), 116 deletions(-)
diffs (truncated from 787 to 300 lines):
diff -r 78d72f0a7b7a -r bd8df397ce47 sys/net/if_faith.c
--- a/sys/net/if_faith.c Tue May 01 07:07:00 2018 +0000
+++ b/sys/net/if_faith.c Tue May 01 07:21:39 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_faith.c,v 1.57 2017/12/06 07:40:16 ozaki-r Exp $ */
+/* $NetBSD: if_faith.c,v 1.58 2018/05/01 07:21:39 maxv Exp $ */
/* $KAME: if_faith.c,v 1.21 2001/02/20 07:59:26 itojun Exp $ */
/*
@@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_faith.c,v 1.57 2017/12/06 07:40:16 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_faith.c,v 1.58 2018/05/01 07:21:39 maxv Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -84,9 +84,6 @@
#include <netinet6/ip6_var.h>
#endif
-
-#include <net/net_osdep.h>
-
#include "ioconf.h"
static int faithioctl(struct ifnet *, u_long, void *);
diff -r 78d72f0a7b7a -r bd8df397ce47 sys/net/if_gif.c
--- a/sys/net/if_gif.c Tue May 01 07:07:00 2018 +0000
+++ b/sys/net/if_gif.c Tue May 01 07:21:39 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_gif.c,v 1.140 2018/04/27 09:55:27 knakahara Exp $ */
+/* $NetBSD: if_gif.c,v 1.141 2018/05/01 07:21:39 maxv Exp $ */
/* $KAME: if_gif.c,v 1.76 2001/08/20 02:01:02 kjc Exp $ */
/*
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_gif.c,v 1.140 2018/04/27 09:55:27 knakahara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_gif.c,v 1.141 2018/05/01 07:21:39 maxv Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -88,8 +88,6 @@
#include <netinet/ip_encap.h>
#include <net/if_gif.h>
-#include <net/net_osdep.h>
-
#include "ioconf.h"
#ifdef NET_MPSAFE
diff -r 78d72f0a7b7a -r bd8df397ce47 sys/net/if_l2tp.c
--- a/sys/net/if_l2tp.c Tue May 01 07:07:00 2018 +0000
+++ b/sys/net/if_l2tp.c Tue May 01 07:21:39 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_l2tp.c,v 1.24 2018/04/27 09:55:27 knakahara Exp $ */
+/* $NetBSD: if_l2tp.c,v 1.25 2018/05/01 07:21:39 maxv Exp $ */
/*
* Copyright (c) 2017 Internet Initiative Japan Inc.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_l2tp.c,v 1.24 2018/04/27 09:55:27 knakahara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_l2tp.c,v 1.25 2018/05/01 07:21:39 maxv Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -93,7 +93,6 @@
#endif
#include <net/bpf.h>
-#include <net/net_osdep.h>
/*
* l2tp global variable definitions
diff -r 78d72f0a7b7a -r bd8df397ce47 sys/net/if_stf.c
--- a/sys/net/if_stf.c Tue May 01 07:07:00 2018 +0000
+++ b/sys/net/if_stf.c Tue May 01 07:21:39 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_stf.c,v 1.103 2017/11/15 10:42:41 knakahara Exp $ */
+/* $NetBSD: if_stf.c,v 1.104 2018/05/01 07:21:39 maxv Exp $ */
/* $KAME: if_stf.c,v 1.62 2001/06/07 22:32:16 itojun Exp $ */
/*
@@ -75,7 +75,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_stf.c,v 1.103 2017/11/15 10:42:41 knakahara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_stf.c,v 1.104 2018/05/01 07:21:39 maxv Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -120,8 +120,6 @@
#include <netinet/ip_encap.h>
-#include <net/net_osdep.h>
-
#include <net/bpf.h>
#include "ioconf.h"
diff -r 78d72f0a7b7a -r bd8df397ce47 sys/netinet/if_arp.c
--- a/sys/netinet/if_arp.c Tue May 01 07:07:00 2018 +0000
+++ b/sys/netinet/if_arp.c Tue May 01 07:21:39 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_arp.c,v 1.273 2018/04/11 05:38:47 maxv Exp $ */
+/* $NetBSD: if_arp.c,v 1.274 2018/05/01 07:21:39 maxv Exp $ */
/*
* Copyright (c) 1998, 2000, 2008 The NetBSD Foundation, Inc.
@@ -68,7 +68,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_arp.c,v 1.273 2018/04/11 05:38:47 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_arp.c,v 1.274 2018/05/01 07:21:39 maxv Exp $");
#ifdef _KERNEL_OPT
#include "opt_ddb.h"
@@ -109,7 +109,6 @@
#include <net/if_types.h>
#include <net/if_ether.h>
#include <net/if_llatbl.h>
-#include <net/net_osdep.h>
#include <net/route.h>
#include <net/net_stats.h>
diff -r 78d72f0a7b7a -r bd8df397ce47 sys/netinet/in_gif.c
--- a/sys/netinet/in_gif.c Tue May 01 07:07:00 2018 +0000
+++ b/sys/netinet/in_gif.c Tue May 01 07:21:39 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: in_gif.c,v 1.93 2018/04/27 09:55:28 knakahara Exp $ */
+/* $NetBSD: in_gif.c,v 1.94 2018/05/01 07:21:39 maxv Exp $ */
/* $KAME: in_gif.c,v 1.66 2001/07/29 04:46:09 itojun Exp $ */
/*
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: in_gif.c,v 1.93 2018/04/27 09:55:28 knakahara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: in_gif.c,v 1.94 2018/05/01 07:21:39 maxv Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -65,8 +65,6 @@
#include <net/if_gif.h>
-#include <net/net_osdep.h>
-
static int gif_validate4(const struct ip *, struct gif_variant *,
struct ifnet *);
diff -r 78d72f0a7b7a -r bd8df397ce47 sys/netinet/in_l2tp.c
--- a/sys/netinet/in_l2tp.c Tue May 01 07:07:00 2018 +0000
+++ b/sys/netinet/in_l2tp.c Tue May 01 07:21:39 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: in_l2tp.c,v 1.13 2018/04/27 09:55:28 knakahara Exp $ */
+/* $NetBSD: in_l2tp.c,v 1.14 2018/05/01 07:21:39 maxv Exp $ */
/*
* Copyright (c) 2017 Internet Initiative Japan Inc.
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: in_l2tp.c,v 1.13 2018/04/27 09:55:28 knakahara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: in_l2tp.c,v 1.14 2018/05/01 07:21:39 maxv Exp $");
#ifdef _KERNEL_OPT
#include "opt_l2tp.h"
@@ -68,8 +68,6 @@
#include <net/if_l2tp.h>
-#include <net/net_osdep.h>
-
int ip_l2tp_ttl = L2TP_TTL;
static void in_l2tp_input(struct mbuf *, int, int, void *);
diff -r 78d72f0a7b7a -r bd8df397ce47 sys/netinet/ip_encap.c
--- a/sys/netinet/ip_encap.c Tue May 01 07:07:00 2018 +0000
+++ b/sys/netinet/ip_encap.c Tue May 01 07:21:39 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ip_encap.c,v 1.67 2018/01/14 16:18:11 maxv Exp $ */
+/* $NetBSD: ip_encap.c,v 1.68 2018/05/01 07:21:39 maxv Exp $ */
/* $KAME: ip_encap.c,v 1.73 2001/10/02 08:30:58 itojun Exp $ */
/*
@@ -68,7 +68,7 @@
#define USE_RADIX
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_encap.c,v 1.67 2018/01/14 16:18:11 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_encap.c,v 1.68 2018/05/01 07:21:39 maxv Exp $");
#ifdef _KERNEL_OPT
#include "opt_mrouting.h"
@@ -109,8 +109,6 @@
#include <netinet/icmp6.h>
#endif
-#include <net/net_osdep.h>
-
#ifdef NET_MPSAFE
#define ENCAP_MPSAFE 1
#endif
diff -r 78d72f0a7b7a -r bd8df397ce47 sys/netinet/sctp_indata.c
--- a/sys/netinet/sctp_indata.c Tue May 01 07:07:00 2018 +0000
+++ b/sys/netinet/sctp_indata.c Tue May 01 07:21:39 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sctp_indata.c,v 1.5 2017/12/10 11:52:14 rjs Exp $ */
+/* $NetBSD: sctp_indata.c,v 1.6 2018/05/01 07:21:39 maxv Exp $ */
/* $KAME: sctp_indata.c,v 1.36 2005/03/06 16:04:17 itojun Exp $ */
/*
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sctp_indata.c,v 1.5 2017/12/10 11:52:14 rjs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sctp_indata.c,v 1.6 2018/05/01 07:21:39 maxv Exp $");
#ifdef _KERNEL_OPT
#include "opt_ipsec.h"
@@ -87,8 +87,6 @@
#include <netipsec/key.h>
#endif /*IPSEC*/
-#include <net/net_osdep.h>
-
#ifdef SCTP_DEBUG
extern u_int32_t sctp_debug_on;
#endif
diff -r 78d72f0a7b7a -r bd8df397ce47 sys/netinet/sctp_input.c
--- a/sys/netinet/sctp_input.c Tue May 01 07:07:00 2018 +0000
+++ b/sys/netinet/sctp_input.c Tue May 01 07:21:39 2018 +0000
@@ -1,5 +1,5 @@
/* $KAME: sctp_input.c,v 1.28 2005/04/21 18:36:21 nishida Exp $ */
-/* $NetBSD: sctp_input.c,v 1.8 2018/02/26 09:04:29 maxv Exp $ */
+/* $NetBSD: sctp_input.c,v 1.9 2018/05/01 07:21:39 maxv Exp $ */
/*
* Copyright (C) 2002, 2003, 2004 Cisco Systems Inc,
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sctp_input.c,v 1.8 2018/02/26 09:04:29 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sctp_input.c,v 1.9 2018/05/01 07:21:39 maxv Exp $");
#ifdef _KERNEL_OPT
#include "opt_ipsec.h"
@@ -88,8 +88,6 @@
#include <netipsec/key.h>
#endif /*IPSEC*/
-#include <net/net_osdep.h>
-
#ifdef SCTP_DEBUG
extern u_int32_t sctp_debug_on;
#endif
diff -r 78d72f0a7b7a -r bd8df397ce47 sys/netinet/sctp_output.c
--- a/sys/netinet/sctp_output.c Tue May 01 07:07:00 2018 +0000
+++ b/sys/netinet/sctp_output.c Tue May 01 07:21:39 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sctp_output.c,v 1.13 2018/03/30 22:54:37 maya Exp $ */
+/* $NetBSD: sctp_output.c,v 1.14 2018/05/01 07:21:39 maxv Exp $ */
/* $KAME: sctp_output.c,v 1.48 2005/06/16 18:29:24 jinmei Exp $ */
/*
@@ -30,7 +30,7 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sctp_output.c,v 1.13 2018/03/30 22:54:37 maya Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sctp_output.c,v 1.14 2018/05/01 07:21:39 maxv Exp $");
#ifdef _KERNEL_OPT
#include "opt_ipsec.h"
@@ -82,8 +82,6 @@
#endif /* INET6 */
-#include <net/net_osdep.h>
-
#if defined(HAVE_NRL_INPCB) || defined(__FreeBSD__)
#ifndef in6pcb
#define in6pcb inpcb
diff -r 78d72f0a7b7a -r bd8df397ce47 sys/netinet/sctp_timer.c
--- a/sys/netinet/sctp_timer.c Tue May 01 07:07:00 2018 +0000
+++ b/sys/netinet/sctp_timer.c Tue May 01 07:21:39 2018 +0000
Home |
Main Index |
Thread Index |
Old Index