Author: ed Date: Sat Jun 12 07:02:43 2010 New Revision: 209092 URL: http://svn.freebsd.org/changeset/base/209092
Log: Remove GNU-style struct initialization. Spotted by: clang Approved by: rpaulo Modified: head/sys/net80211/ieee80211_rssadapt.c Modified: head/sys/net80211/ieee80211_rssadapt.c ============================================================================== --- head/sys/net80211/ieee80211_rssadapt.c Sat Jun 12 06:00:48 2010 (r209091) +++ head/sys/net80211/ieee80211_rssadapt.c Sat Jun 12 07:02:43 2010 (r209092) @@ -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"