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-unsubscr...@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-unsubscr...@freebsd.org" -- <Insert your favourite quote here.> Erik Trulsson ertr1...@student.uu.se _______________________________________________ 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"