Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/net Remoe duplicated inclusion of net/bpf.h.



details:   https://anonhg.NetBSD.org/src/rev/3aa472f5baf7
branches:  trunk
changeset: 323667:3aa472f5baf7
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Mon Jun 25 04:59:42 2018 +0000

description:
Remoe duplicated inclusion of net/bpf.h.

diffstat:

 sys/net/if_l2tp.c |  6 ++----
 sys/net/if_ppp.c  |  8 ++------
 2 files changed, 4 insertions(+), 10 deletions(-)

diffs (63 lines):

diff -r 54a77e8ad6fe -r 3aa472f5baf7 sys/net/if_l2tp.c
--- a/sys/net/if_l2tp.c Mon Jun 25 03:23:55 2018 +0000
+++ b/sys/net/if_l2tp.c Mon Jun 25 04:59:42 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_l2tp.c,v 1.27 2018/05/08 06:08:19 maxv Exp $        */
+/*     $NetBSD: if_l2tp.c,v 1.28 2018/06/25 04:59:42 msaitoh 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.27 2018/05/08 06:08:19 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_l2tp.c,v 1.28 2018/06/25 04:59:42 msaitoh Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -92,8 +92,6 @@
 #include <netinet/ip_tcpmss.h>
 #endif
 
-#include <net/bpf.h>
-
 /*
  * l2tp global variable definitions
  */
diff -r 54a77e8ad6fe -r 3aa472f5baf7 sys/net/if_ppp.c
--- a/sys/net/if_ppp.c  Mon Jun 25 03:23:55 2018 +0000
+++ b/sys/net/if_ppp.c  Mon Jun 25 04:59:42 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ppp.c,v 1.159 2017/09/17 20:39:04 christos Exp $    */
+/*     $NetBSD: if_ppp.c,v 1.160 2018/06/25 04:59:42 msaitoh Exp $     */
 /*     Id: if_ppp.c,v 1.6 1997/03/04 03:33:00 paulus Exp       */
 
 /*
@@ -102,7 +102,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ppp.c,v 1.159 2017/09/17 20:39:04 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ppp.c,v 1.160 2018/06/25 04:59:42 msaitoh Exp $");
 
 #ifdef _KERNEL_OPT
 #include "ppp.h"
@@ -139,9 +139,6 @@
 #include <net/if_types.h>
 #include <net/netisr.h>
 #include <net/route.h>
-#ifdef PPP_FILTER
-#include <net/bpf.h>
-#endif
 
 #include <netinet/in.h>
 #include <netinet/in_systm.h>
@@ -151,7 +148,6 @@
 #endif
 
 #include <net/bpf.h>
-
 #include <net/slip.h>
 
 #ifdef VJC



Home | Main Index | Thread Index | Old Index