diff options
author | James Ketrenos <jketreno@linux.intel.com> | 2005-09-21 12:58:24 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-09-21 23:03:55 -0400 |
commit | 9ba7e0d1579485ce231594651b39c169029f5d67 (patch) | |
tree | a00b1757d7a2d548b0e3cd13589aaadeb88d1d3c /include | |
parent | cdcfc210820b8e043cb606eddc145906185c6743 (diff) |
[PATCH] ieee80211: "extern inline" to "static inline"
tree bce04549ce0a8239d8083d8da5c3d12f7e1aecd9
parent b15a5153d5f1c75d9435d5ce19b52287059d5d54
author Adrian Bunk <bunk@stusta.de> 1125026386 -0500
committer James Ketrenos <jketreno@linux.intel.com> 1127313953 -0500
"extern inline" doesn't make much sense.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/ieee80211.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/net/ieee80211.h b/include/net/ieee80211.h index 372a173d36df..9310b2e01d41 100644 --- a/include/net/ieee80211.h +++ b/include/net/ieee80211.h | |||
@@ -929,12 +929,12 @@ struct ieee80211_device { | |||
929 | #define IEEE_G (1<<2) | 929 | #define IEEE_G (1<<2) |
930 | #define IEEE_MODE_MASK (IEEE_A|IEEE_B|IEEE_G) | 930 | #define IEEE_MODE_MASK (IEEE_A|IEEE_B|IEEE_G) |
931 | 931 | ||
932 | extern inline void *ieee80211_priv(struct net_device *dev) | 932 | static inline void *ieee80211_priv(struct net_device *dev) |
933 | { | 933 | { |
934 | return ((struct ieee80211_device *)netdev_priv(dev))->priv; | 934 | return ((struct ieee80211_device *)netdev_priv(dev))->priv; |
935 | } | 935 | } |
936 | 936 | ||
937 | extern inline int ieee80211_is_empty_essid(const char *essid, int essid_len) | 937 | static inline int ieee80211_is_empty_essid(const char *essid, int essid_len) |
938 | { | 938 | { |
939 | /* Single white space is for Linksys APs */ | 939 | /* Single white space is for Linksys APs */ |
940 | if (essid_len == 1 && essid[0] == ' ') | 940 | if (essid_len == 1 && essid[0] == ' ') |
@@ -950,7 +950,7 @@ extern inline int ieee80211_is_empty_essid(const char *essid, int essid_len) | |||
950 | return 1; | 950 | return 1; |
951 | } | 951 | } |
952 | 952 | ||
953 | extern inline int ieee80211_is_valid_mode(struct ieee80211_device *ieee, | 953 | static inline int ieee80211_is_valid_mode(struct ieee80211_device *ieee, |
954 | int mode) | 954 | int mode) |
955 | { | 955 | { |
956 | /* | 956 | /* |
@@ -977,7 +977,7 @@ extern inline int ieee80211_is_valid_mode(struct ieee80211_device *ieee, | |||
977 | return 0; | 977 | return 0; |
978 | } | 978 | } |
979 | 979 | ||
980 | extern inline int ieee80211_get_hdrlen(u16 fc) | 980 | static inline int ieee80211_get_hdrlen(u16 fc) |
981 | { | 981 | { |
982 | int hdrlen = IEEE80211_3ADDR_LEN; | 982 | int hdrlen = IEEE80211_3ADDR_LEN; |
983 | u16 stype = WLAN_FC_GET_STYPE(fc); | 983 | u16 stype = WLAN_FC_GET_STYPE(fc); |
@@ -1005,7 +1005,7 @@ extern inline int ieee80211_get_hdrlen(u16 fc) | |||
1005 | return hdrlen; | 1005 | return hdrlen; |
1006 | } | 1006 | } |
1007 | 1007 | ||
1008 | extern inline u8 *ieee80211_get_payload(struct ieee80211_hdr *hdr) | 1008 | static inline u8 *ieee80211_get_payload(struct ieee80211_hdr *hdr) |
1009 | { | 1009 | { |
1010 | switch (ieee80211_get_hdrlen(le16_to_cpu(hdr->frame_ctl))) { | 1010 | switch (ieee80211_get_hdrlen(le16_to_cpu(hdr->frame_ctl))) { |
1011 | case IEEE80211_1ADDR_LEN: | 1011 | case IEEE80211_1ADDR_LEN: |
@@ -1070,12 +1070,12 @@ extern int ieee80211_wx_get_encodeext(struct ieee80211_device *ieee, | |||
1070 | union iwreq_data *wrqu, char *extra); | 1070 | union iwreq_data *wrqu, char *extra); |
1071 | #endif | 1071 | #endif |
1072 | 1072 | ||
1073 | extern inline void ieee80211_increment_scans(struct ieee80211_device *ieee) | 1073 | static inline void ieee80211_increment_scans(struct ieee80211_device *ieee) |
1074 | { | 1074 | { |
1075 | ieee->scans++; | 1075 | ieee->scans++; |
1076 | } | 1076 | } |
1077 | 1077 | ||
1078 | extern inline int ieee80211_get_scans(struct ieee80211_device *ieee) | 1078 | static inline int ieee80211_get_scans(struct ieee80211_device *ieee) |
1079 | { | 1079 | { |
1080 | return ieee->scans; | 1080 | return ieee->scans; |
1081 | } | 1081 | } |