From dcb46aa29b4cd93c97ab2f9aea4d9809a03c7031 Mon Sep 17 00:00:00 2001 From: Darren Reed Date: Tue, 19 Mar 2002 14:56:59 +0000 Subject: [PATCH] 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(+) diff --git a/sys/netinet6/ip6protosw.h b/sys/netinet6/ip6protosw.h index 541402b47c48..94b00aac4e4e 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_ */