Module Name:    src
Committed By:   knakahara
Date:           Thu Aug 18 11:34:09 UTC 2016

Modified Files:
        src/sys/netinet: in_gif.c

Log Message:
remove unnecessary dependency on gif.h to become friendly with module and rump.

When in_gif.c become compile target, NGIF is always more than 1.


To generate a diff of this commit:
cvs rdiff -u -r1.82 -r1.83 src/sys/netinet/in_gif.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/netinet/in_gif.c
diff -u src/sys/netinet/in_gif.c:1.82 src/sys/netinet/in_gif.c:1.83
--- src/sys/netinet/in_gif.c:1.82	Mon Aug  1 03:15:30 2016
+++ src/sys/netinet/in_gif.c	Thu Aug 18 11:34:09 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: in_gif.c,v 1.82 2016/08/01 03:15:30 ozaki-r Exp $	*/
+/*	$NetBSD: in_gif.c,v 1.83 2016/08/18 11:34:09 knakahara 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.82 2016/08/01 03:15:30 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: in_gif.c,v 1.83 2016/08/18 11:34:09 knakahara Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -65,18 +65,12 @@ __KERNEL_RCSID(0, "$NetBSD: in_gif.c,v 1
 
 #include <net/if_gif.h>
 
-#include "gif.h"
-
 #include <net/net_osdep.h>
 
 static int gif_validate4(const struct ip *, struct gif_softc *,
 	struct ifnet *);
 
-#if NGIF > 0
 int ip_gif_ttl = GIF_TTL;
-#else
-int ip_gif_ttl = 0;
-#endif
 
 static const struct encapsw in_gif_encapsw = {
 	.encapsw4 = {

Reply via email to