From 5d8547e5903543be26084d3eefc76b1975de5964 Mon Sep 17 00:00:00 2001 From: darrenr Date: Tue, 19 Mar 2002 14:56:59 +0000 Subject: put an extern for inet6sw in here and make it active only for kernel compiling --- sys/netinet6/ip6protosw.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys/netinet6') 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_ */ -- cgit v1.1