Date: Mon, 22 Nov 2010 02:00:09 +0100 From: Erik Trulsson <ertr1013@student.uu.se> To: Benjamin Close <Benjamin.Close@clearchain.com> Cc: svn-src-all@freebsd.org, bschmidt@freebsd.org Subject: Re: svn commit: r215563 - stable/8/sys/net80211 Message-ID: <20101122010009.GA50995@owl.midgard.homeip.net> In-Reply-To: <4CE9ADE2.1040905@clearchain.com> References: <201011201324.oAKDO5mB013288@svn.freebsd.org> <4CE9ADE2.1040905@clearchain.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Nov 22, 2010 at 10:10:18AM +1030, Benjamin Close wrote: > Is this really the same thing? > I believe the variable:number is a bitfield indicator not a member > initialization. If it had been a declaration of a type, yes. That is not the case here, which is a declaration/definition of a variable. The 'variable:value' in this context is indeed an old, obsolete, GNU extension for member initialization. > > On 20/11/10 23:54, Bernhard Schmidt wrote: > > Author: bschmidt > > Date: Sat Nov 20 13:24:05 2010 > > New Revision: 215563 > > URL: http://svn.freebsd.org/changeset/base/215563 > > > > Log: > > MFC r209092: > > Remove GNU-style struct initialization. > > > > Committed by: ed > > > > Modified: > > stable/8/sys/net80211/ieee80211_rssadapt.c > > Directory Properties: > > stable/8/sys/ (props changed) > > stable/8/sys/amd64/include/xen/ (props changed) > > stable/8/sys/cddl/contrib/opensolaris/ (props changed) > > stable/8/sys/contrib/dev/acpica/ (props changed) > > stable/8/sys/contrib/pf/ (props changed) > > stable/8/sys/dev/xen/xenpci/ (props changed) > > > > Modified: stable/8/sys/net80211/ieee80211_rssadapt.c > > ============================================================================== > > --- stable/8/sys/net80211/ieee80211_rssadapt.c Sat Nov 20 13:12:59 2010 (r215562) > > +++ stable/8/sys/net80211/ieee80211_rssadapt.c Sat Nov 20 13:24:05 2010 (r215563) > > @@ -58,12 +58,12 @@ struct rssadapt_expavgctl { > > }; > > > > static struct rssadapt_expavgctl master_expavgctl = { > > - rc_decay_denom : 16, > > - rc_decay_old : 15, > > - rc_thresh_denom : 8, > > - rc_thresh_old : 4, > > - rc_avgrssi_denom : 8, > > - rc_avgrssi_old : 4 > > + .rc_decay_denom = 16, > > + .rc_decay_old = 15, > > + .rc_thresh_denom = 8, > > + .rc_thresh_old = 4, > > + .rc_avgrssi_denom = 8, > > + .rc_avgrssi_old = 4 > > }; > > > > #ifdef interpolate > > _______________________________________________ > > 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-unsubscribe@freebsd.org" > > _______________________________________________ > 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-unsubscribe@freebsd.org" -- <Insert your favourite quote here.> Erik Trulsson ertr1013@student.uu.se
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101122010009.GA50995>