From owner-svn-src-all@FreeBSD.ORG Thu Jun 4 15:04:39 2015 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 36A57C9C; Thu, 4 Jun 2015 15:04:39 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x231.google.com (mail-ig0-x231.google.com [IPv6:2607:f8b0:4001:c05::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F3CAD1CBA; Thu, 4 Jun 2015 15:04:38 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by igbsb11 with SMTP id sb11so41504446igb.0; Thu, 04 Jun 2015 08:04:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=ksZoKjHn38M23/tfbvoElvboZlqfpVVCF3Xs3KZ20B4=; b=lcA/8EaZHqsmXU63bik9BfHSfTmnpi//BjPwhJdMtH9SDxawvQCK8gY/05IogY5U2m YsApWTh+6FrzQPeIy3SxocIIy4lwHskIZ2b/Gjp2SqobOoFyCm7H9hINfWeGSFKk4ile 6IF/mzq0FtnjQYrfT+o+66lCtdc2OhFVhm9DHGCO2zAfmFowqYTN+/bl5+ujE/OQUyrI cWm9tRwDNVQDbyqxjlT1CHy91AEZFFHClHoFMp3PMzefG38XbZlPcZbdRVf71U/Wg2GV 8uOftoOjkUnyakTIbgiHQYK0KucKwsTz0YKyxyO2gupHp0VAbMLT7cWh3hS2LYdRbYZq TbuQ== MIME-Version: 1.0 X-Received: by 10.107.5.210 with SMTP id 201mr46988215iof.88.1433430278224; Thu, 04 Jun 2015 08:04:38 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.38.133 with HTTP; Thu, 4 Jun 2015 08:04:38 -0700 (PDT) In-Reply-To: <201506041055.t54AtaUD097445@svn.freebsd.org> References: <201506041055.t54AtaUD097445@svn.freebsd.org> Date: Thu, 4 Jun 2015 08:04:38 -0700 X-Google-Sender-Auth: 2wII6_zvZKeCJPOughm8B0cCqPI Message-ID: Subject: Re: svn commit: r283986 - head/sys/net80211 From: Adrian Chadd To: Andrew Turner Cc: "src-committers@freebsd.org" , "svn-src-all@freebsd.org" , "svn-src-head@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jun 2015 15:04:39 -0000 oops, sorry! Thanks Andrew! -a On 4 June 2015 at 03:55, Andrew Turner wrote: > Author: andrew > Date: Thu Jun 4 10:55:36 2015 > New Revision: 283986 > URL: https://svnweb.freebsd.org/changeset/base/283986 > > Log: > Fix the build by hiding ieee80211_add_xmit_params and > ieee80211_get_xmit_params from userspace. > > Modified: > head/sys/net80211/ieee80211_freebsd.h > > Modified: head/sys/net80211/ieee80211_freebsd.h > ============================================================================== > --- head/sys/net80211/ieee80211_freebsd.h Thu Jun 4 08:05:44 2015 (r283985) > +++ head/sys/net80211/ieee80211_freebsd.h Thu Jun 4 10:55:36 2015 (r283986) > @@ -610,6 +610,7 @@ struct ieee80211_bpf_params { > uint8_t ibp_rate3; /* series 4 IEEE tx rate */ > }; > > +#ifdef _KERNEL > struct ieee80211_tx_params { > struct ieee80211_bpf_params params; > }; > @@ -617,6 +618,7 @@ int ieee80211_add_xmit_params(struct mbu > const struct ieee80211_bpf_params *); > int ieee80211_get_xmit_params(struct mbuf *m, > struct ieee80211_bpf_params *); > +#endif /* _KERNEL */ > > /* > * Malloc API. Other BSD operating systems have slightly >