Date: Wed, 10 Jun 2015 18:46:38 +0300 From: Gleb Smirnoff <glebius@FreeBSD.org> To: Adrian Chadd <adrian@freebsd.org> Cc: Andrew Turner <andrew@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org> Subject: Re: svn commit: r283986 - head/sys/net80211 Message-ID: <20150610154638.GK73119@FreeBSD.org> In-Reply-To: <CAJ-VmomwWLZMHLzQ2SFD2SFGFyjfPqsGy8HPRpBoXa4Zk2nWCw@mail.gmail.com> References: <201506041055.t54AtaUD097445@svn.freebsd.org> <CAJ-VmomwWLZMHLzQ2SFD2SFGFyjfPqsGy8HPRpBoXa4Zk2nWCw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <andrew@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150610154638.GK73119>