Source-Changes-HG archive

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

[src/trunk]: src/sys/netinet remove duplicated #include of <netinet/in.h>



details:   https://anonhg.NetBSD.org/src/rev/0016c41c2a62
branches:  trunk
changeset: 813710:0016c41c2a62
user:      rtr <rtr%NetBSD.org@localhost>
date:      Sun Feb 14 23:47:57 2016 +0000

description:
remove duplicated #include of <netinet/in.h>

diffstat:

 sys/netinet/tcp_usrreq.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r 3914e9837728 -r 0016c41c2a62 sys/netinet/tcp_usrreq.c
--- a/sys/netinet/tcp_usrreq.c  Sun Feb 14 21:13:33 2016 +0000
+++ b/sys/netinet/tcp_usrreq.c  Sun Feb 14 23:47:57 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: tcp_usrreq.c,v 1.209 2015/08/24 22:21:26 pooka Exp $   */
+/*     $NetBSD: tcp_usrreq.c,v 1.210 2016/02/14 23:47:57 rtr Exp $     */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -99,7 +99,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tcp_usrreq.c,v 1.209 2015/08/24 22:21:26 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tcp_usrreq.c,v 1.210 2016/02/14 23:47:57 rtr Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -136,9 +136,6 @@
 #include <netinet/in_offload.h>
 
 #ifdef INET6
-#ifndef INET
-#include <netinet/in.h>
-#endif
 #include <netinet/ip6.h>
 #include <netinet6/in6_pcb.h>
 #include <netinet6/ip6_var.h>



Home | Main Index | Thread Index | Old Index