summaryrefslogtreecommitdiffstats
path: root/sys/netinet6
diff options
context:
space:
mode:
authordarrenr <darrenr@FreeBSD.org>2002-03-19 14:56:59 +0000
committerdarrenr <darrenr@FreeBSD.org>2002-03-19 14:56:59 +0000
commit5d8547e5903543be26084d3eefc76b1975de5964 (patch)
treeb05d749ede4ec6aaf327839d04055a19781e4d01 /sys/netinet6
parent4106fb634928e1b6d3744c3b8317083f2c780bfc (diff)
downloadFreeBSD-src-5d8547e5903543be26084d3eefc76b1975de5964.zip
FreeBSD-src-5d8547e5903543be26084d3eefc76b1975de5964.tar.gz
put an extern for inet6sw in here and make it active only for kernel compiling
Diffstat (limited to 'sys/netinet6')
-rw-r--r--sys/netinet6/ip6protosw.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/netinet6/ip6protosw.h b/sys/netinet6/ip6protosw.h
index 541402b..94b00aa 100644
--- a/sys/netinet6/ip6protosw.h
+++ b/sys/netinet6/ip6protosw.h
@@ -156,4 +156,8 @@ struct ip6protosw {
struct pfil_head pr_pfh;
};
+#ifdef _KERNEL
+extern struct ip6protosw inet6sw[];
+#endif
+
#endif /* !_NETINET6_IP6PROTOSW_H_ */
OpenPOWER on IntegriCloud