PERFORCE change 119756 for review

Sepherosa Ziehau sephe at FreeBSD.org
Sun May 13 05:24:37 UTC 2007


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

Change 119756 by sephe at sephe_zealot:sam_wifi on 2007/05/13 05:24:20

	u_intX_t -> uintX_t
	
	Approved by:	sam

Affected files ...

.. //depot/projects/wifi/sys/net80211/ieee80211_regdomain.c#4 edit
.. //depot/projects/wifi/sys/net80211/ieee80211_regdomain.h#3 edit

Differences ...

==== //depot/projects/wifi/sys/net80211/ieee80211_regdomain.c#4 (text+ko) ====

@@ -115,8 +115,8 @@
 /*
  * Add Country Information IE.
  */
-u_int8_t *
-ieee80211_add_countryie(u_int8_t *frm, struct ieee80211com *ic,
+uint8_t *
+ieee80211_add_countryie(uint8_t *frm, struct ieee80211com *ic,
 	enum ISOCountryCode cc, int location)
 {
 #define	CHAN_UNINTERESTING \
@@ -139,7 +139,7 @@
 	};
 	struct ieee80211_country_ie *ie = (struct ieee80211_country_ie *)frm;
 	const char *iso_name;
-	u_int8_t nextchan, chans[IEEE80211_CHAN_BYTES];
+	uint8_t nextchan, chans[IEEE80211_CHAN_BYTES];
 	int i, skip;
 
 	ie->ie = IEEE80211_ELEMID_COUNTRY;
@@ -162,7 +162,7 @@
 	/* 
 	 * Run-length encoded channel+max tx power info.
 	 */
-	frm = (u_int8_t *)&ie->band[0];
+	frm = (uint8_t *)&ie->band[0];
 	nextchan = 0;			/* NB: impossible channel # */
 	memset(chans, 0, sizeof(chans));
 	skip = skipflags[ic->ic_curmode];

==== //depot/projects/wifi/sys/net80211/ieee80211_regdomain.h#3 (text+ko) ====

@@ -173,7 +173,7 @@
 
 void	ieee80211_init_channels(struct ieee80211com *ic,
 	    int rd, enum ISOCountryCode cc, int bands, int outdoor, int ecm);
-u_int8_t *ieee80211_add_countryie(u_int8_t *, struct ieee80211com *,
+uint8_t	*ieee80211_add_countryie(uint8_t *, struct ieee80211com *,
 	    enum ISOCountryCode cc, int location);
 const char *ieee80211_cctoiso(enum ISOCountryCode);
 int	ieee80211_isotocc(const char iso[2]);


More information about the p4-projects mailing list