diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-07-01 15:26:46 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-07-10 15:01:48 -0400 |
commit | dad823302135a2d99efd40e35d94a6ff14961c93 (patch) | |
tree | b5f53a830792737494b0f3aa90247feddf3e19f3 | |
parent | 2a783c136b4f280d9863170bd6703d25bdb4746c (diff) |
nl80211: clean up function definitions
I don't like the 'extern' keyword much when it's not
necessary, it makes lines rather long.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | net/wireless/nl80211.h | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/net/wireless/nl80211.h b/net/wireless/nl80211.h index a3872a40cfa7..cf0d271f7e1f 100644 --- a/net/wireless/nl80211.h +++ b/net/wireless/nl80211.h | |||
@@ -3,41 +3,41 @@ | |||
3 | 3 | ||
4 | #include "core.h" | 4 | #include "core.h" |
5 | 5 | ||
6 | extern int nl80211_init(void); | 6 | int nl80211_init(void); |
7 | extern void nl80211_exit(void); | 7 | void nl80211_exit(void); |
8 | extern void nl80211_notify_dev_rename(struct cfg80211_registered_device *rdev); | 8 | void nl80211_notify_dev_rename(struct cfg80211_registered_device *rdev); |
9 | extern void nl80211_send_scan_start(struct cfg80211_registered_device *rdev, | 9 | void nl80211_send_scan_start(struct cfg80211_registered_device *rdev, |
10 | struct net_device *netdev); | 10 | struct net_device *netdev); |
11 | extern void nl80211_send_scan_done(struct cfg80211_registered_device *rdev, | 11 | void nl80211_send_scan_done(struct cfg80211_registered_device *rdev, |
12 | struct net_device *netdev); | 12 | struct net_device *netdev); |
13 | extern void nl80211_send_scan_aborted(struct cfg80211_registered_device *rdev, | 13 | void nl80211_send_scan_aborted(struct cfg80211_registered_device *rdev, |
14 | struct net_device *netdev); | 14 | struct net_device *netdev); |
15 | extern void nl80211_send_reg_change_event(struct regulatory_request *request); | 15 | void nl80211_send_reg_change_event(struct regulatory_request *request); |
16 | extern void nl80211_send_rx_auth(struct cfg80211_registered_device *rdev, | 16 | void nl80211_send_rx_auth(struct cfg80211_registered_device *rdev, |
17 | struct net_device *netdev, | 17 | struct net_device *netdev, |
18 | const u8 *buf, size_t len); | 18 | const u8 *buf, size_t len); |
19 | extern void nl80211_send_rx_assoc(struct cfg80211_registered_device *rdev, | 19 | void nl80211_send_rx_assoc(struct cfg80211_registered_device *rdev, |
20 | struct net_device *netdev, | 20 | struct net_device *netdev, |
21 | const u8 *buf, size_t len); | 21 | const u8 *buf, size_t len); |
22 | extern void nl80211_send_deauth(struct cfg80211_registered_device *rdev, | 22 | void nl80211_send_deauth(struct cfg80211_registered_device *rdev, |
23 | struct net_device *netdev, | ||
24 | const u8 *buf, size_t len); | ||
25 | void nl80211_send_disassoc(struct cfg80211_registered_device *rdev, | ||
26 | struct net_device *netdev, | ||
27 | const u8 *buf, size_t len); | ||
28 | void nl80211_send_auth_timeout(struct cfg80211_registered_device *rdev, | ||
29 | struct net_device *netdev, | ||
30 | const u8 *addr); | ||
31 | void nl80211_send_assoc_timeout(struct cfg80211_registered_device *rdev, | ||
23 | struct net_device *netdev, | 32 | struct net_device *netdev, |
24 | const u8 *buf, size_t len); | 33 | const u8 *addr); |
25 | extern void nl80211_send_disassoc(struct cfg80211_registered_device *rdev, | 34 | void |
26 | struct net_device *netdev, | ||
27 | const u8 *buf, size_t len); | ||
28 | extern void nl80211_send_auth_timeout(struct cfg80211_registered_device *rdev, | ||
29 | struct net_device *netdev, | ||
30 | const u8 *addr); | ||
31 | extern void nl80211_send_assoc_timeout(struct cfg80211_registered_device *rdev, | ||
32 | struct net_device *netdev, | ||
33 | const u8 *addr); | ||
34 | extern void | ||
35 | nl80211_michael_mic_failure(struct cfg80211_registered_device *rdev, | 35 | nl80211_michael_mic_failure(struct cfg80211_registered_device *rdev, |
36 | struct net_device *netdev, const u8 *addr, | 36 | struct net_device *netdev, const u8 *addr, |
37 | enum nl80211_key_type key_type, | 37 | enum nl80211_key_type key_type, |
38 | int key_id, const u8 *tsc); | 38 | int key_id, const u8 *tsc); |
39 | 39 | ||
40 | extern void | 40 | void |
41 | nl80211_send_beacon_hint_event(struct wiphy *wiphy, | 41 | nl80211_send_beacon_hint_event(struct wiphy *wiphy, |
42 | struct ieee80211_channel *channel_before, | 42 | struct ieee80211_channel *channel_before, |
43 | struct ieee80211_channel *channel_after); | 43 | struct ieee80211_channel *channel_after); |