aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/rate.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-10-18 16:48:25 -0400
committerDavid S. Miller <davem@davemloft.net>2013-10-19 19:12:11 -0400
commitc1b1203d65955c179fec617ff17a21273f33a414 (patch)
treea84a93bae0abe5e796dce767a320ab4262ffb63f /net/mac80211/rate.h
parent7e58487b8cf5871d2a0fa03892dbd4b3a620d07f (diff)
net: misc: Remove extern from function prototypes
There are a mix of function prototypes with and without extern in the kernel sources. Standardize on not using extern for function prototypes. Function prototypes don't need to be written with extern. extern is assumed by the compiler. Its use is as unnecessary as using auto to declare automatic/local variables in a block. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211/rate.h')
-rw-r--r--net/mac80211/rate.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/net/mac80211/rate.h b/net/mac80211/rate.h
index 5dedc56c94db..505bc0dea074 100644
--- a/net/mac80211/rate.h
+++ b/net/mac80211/rate.h
@@ -144,8 +144,8 @@ void rate_control_deinitialize(struct ieee80211_local *local);
144 144
145/* Rate control algorithms */ 145/* Rate control algorithms */
146#ifdef CONFIG_MAC80211_RC_PID 146#ifdef CONFIG_MAC80211_RC_PID
147extern int rc80211_pid_init(void); 147int rc80211_pid_init(void);
148extern void rc80211_pid_exit(void); 148void rc80211_pid_exit(void);
149#else 149#else
150static inline int rc80211_pid_init(void) 150static inline int rc80211_pid_init(void)
151{ 151{
@@ -157,8 +157,8 @@ static inline void rc80211_pid_exit(void)
157#endif 157#endif
158 158
159#ifdef CONFIG_MAC80211_RC_MINSTREL 159#ifdef CONFIG_MAC80211_RC_MINSTREL
160extern int rc80211_minstrel_init(void); 160int rc80211_minstrel_init(void);
161extern void rc80211_minstrel_exit(void); 161void rc80211_minstrel_exit(void);
162#else 162#else
163static inline int rc80211_minstrel_init(void) 163static inline int rc80211_minstrel_init(void)
164{ 164{
@@ -170,8 +170,8 @@ static inline void rc80211_minstrel_exit(void)
170#endif 170#endif
171 171
172#ifdef CONFIG_MAC80211_RC_MINSTREL_HT 172#ifdef CONFIG_MAC80211_RC_MINSTREL_HT
173extern int rc80211_minstrel_ht_init(void); 173int rc80211_minstrel_ht_init(void);
174extern void rc80211_minstrel_ht_exit(void); 174void rc80211_minstrel_ht_exit(void);
175#else 175#else
176static inline int rc80211_minstrel_ht_init(void) 176static inline int rc80211_minstrel_ht_init(void)
177{ 177{