Adrian, The patch was quite conservative, just to fix build. I think bigger part of ieee80211_freebsd.h should be hidden under _KERNEL? It could be that the entire file should.
On Thu, Jun 04, 2015 at 08:04:38AM -0700, Adrian Chadd wrote: A> oops, sorry! Thanks Andrew! A> A> A> A> -a A> A> A> On 4 June 2015 at 03:55, Andrew Turner <and...@freebsd.org> wrote: A> > Author: andrew A> > Date: Thu Jun 4 10:55:36 2015 A> > New Revision: 283986 A> > URL: https://svnweb.freebsd.org/changeset/base/283986 A> > A> > Log: A> > Fix the build by hiding ieee80211_add_xmit_params and A> > ieee80211_get_xmit_params from userspace. A> > A> > Modified: A> > head/sys/net80211/ieee80211_freebsd.h A> > A> > Modified: head/sys/net80211/ieee80211_freebsd.h A> > ============================================================================== A> > --- head/sys/net80211/ieee80211_freebsd.h Thu Jun 4 08:05:44 2015 (r283985) A> > +++ head/sys/net80211/ieee80211_freebsd.h Thu Jun 4 10:55:36 2015 (r283986) A> > @@ -610,6 +610,7 @@ struct ieee80211_bpf_params { A> > uint8_t ibp_rate3; /* series 4 IEEE tx rate */ A> > }; A> > A> > +#ifdef _KERNEL A> > struct ieee80211_tx_params { A> > struct ieee80211_bpf_params params; A> > }; A> > @@ -617,6 +618,7 @@ int ieee80211_add_xmit_params(struct mbu A> > const struct ieee80211_bpf_params *); A> > int ieee80211_get_xmit_params(struct mbuf *m, A> > struct ieee80211_bpf_params *); A> > +#endif /* _KERNEL */ A> > A> > /* A> > * Malloc API. Other BSD operating systems have slightly A> > A> -- Totus tuus, Glebius. _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"