Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Include headers once (and don't pretend this com...



details:   https://anonhg.NetBSD.org/src/rev/6dfd7ae7acb5
branches:  trunk
changeset: 369651:6dfd7ae7acb5
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Aug 27 06:12:14 2022 +0000

description:
Include headers once (and don't pretend this compiles without INET)

diffstat:

 sys/dev/pci/if_bge.c |  11 ++---------
 1 files changed, 2 insertions(+), 9 deletions(-)

diffs (32 lines):

diff -r 3abb91e42dcb -r 6dfd7ae7acb5 sys/dev/pci/if_bge.c
--- a/sys/dev/pci/if_bge.c      Sat Aug 27 05:35:17 2022 +0000
+++ b/sys/dev/pci/if_bge.c      Sat Aug 27 06:12:14 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_bge.c,v 1.382 2022/08/27 05:35:17 skrll Exp $       */
+/*     $NetBSD: if_bge.c,v 1.383 2022/08/27 06:12:14 skrll Exp $       */
 
 /*
  * Copyright (c) 2001 Wind River Systems
@@ -79,7 +79,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.382 2022/08/27 05:35:17 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_bge.c,v 1.383 2022/08/27 06:12:14 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -101,13 +101,6 @@
 #include <net/if_ether.h>
 #include <net/bpf.h>
 
-#ifdef INET
-#include <netinet/in.h>
-#include <netinet/in_systm.h>
-#include <netinet/in_var.h>
-#include <netinet/ip.h>
-#endif
-
 /* Headers for TCP Segmentation Offload (TSO) */
 #include <netinet/in_systm.h>          /* n_time for <netinet/ip.h>... */
 #include <netinet/in.h>                        /* ip_{src,dst}, for <netinet/ip.h> */



Home | Main Index | Thread Index | Old Index