PERFORCE change 117512 for review

Sam Leffler sam at FreeBSD.org
Fri Apr 6 16:20:26 UTC 2007


http://perforce.freebsd.org/chv.cgi?CH=117512

Change 117512 by sam at sam_ebb on 2007/04/06 16:19:30

	rename max/min variables to silence gcc 4.x complaint about
	shadowed variables

Affected files ...

.. //depot/projects/wifi/sys/net80211/ieee80211_amrr.c#2 edit

Differences ...

==== //depot/projects/wifi/sys/net80211/ieee80211_amrr.c#2 (text+ko) ====

@@ -65,11 +65,11 @@
 
 void
 ieee80211_amrr_init(struct ieee80211_amrr *amrr,
-    struct ieee80211com *ic, int min, int max)
+    struct ieee80211com *ic, int amin, int amax)
 {
 	/* XXX bounds check? */
-	amrr->amrr_min_success_threshold = min;
-	amrr->amrr_max_success_threshold = max;
+	amrr->amrr_min_success_threshold = amin;
+	amrr->amrr_max_success_threshold = amax;
 	amrr->amrr_ic = ic;
 }
 


More information about the p4-projects mailing list