put an extern for inet6sw in here and make it active only for kernel compiling

This commit is contained in:
Darren Reed 2002-03-19 14:56:59 +00:00
parent 00dcdc8d67
commit dcb46aa29b

View File

@ -156,4 +156,8 @@ struct ip6protosw {
struct pfil_head pr_pfh;
};
#ifdef _KERNEL
extern struct ip6protosw inet6sw[];
#endif
#endif /* !_NETINET6_IP6PROTOSW_H_ */