aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-07-01 15:26:46 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-07-10 15:01:48 -0400
commitdad823302135a2d99efd40e35d94a6ff14961c93 (patch)
treeb5f53a830792737494b0f3aa90247feddf3e19f3
parent2a783c136b4f280d9863170bd6703d25bdb4746c (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.h58
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
6extern int nl80211_init(void); 6int nl80211_init(void);
7extern void nl80211_exit(void); 7void nl80211_exit(void);
8extern void nl80211_notify_dev_rename(struct cfg80211_registered_device *rdev); 8void nl80211_notify_dev_rename(struct cfg80211_registered_device *rdev);
9extern void nl80211_send_scan_start(struct cfg80211_registered_device *rdev, 9void nl80211_send_scan_start(struct cfg80211_registered_device *rdev,
10 struct net_device *netdev); 10 struct net_device *netdev);
11extern void nl80211_send_scan_done(struct cfg80211_registered_device *rdev, 11void nl80211_send_scan_done(struct cfg80211_registered_device *rdev,
12 struct net_device *netdev); 12 struct net_device *netdev);
13extern void nl80211_send_scan_aborted(struct cfg80211_registered_device *rdev, 13void nl80211_send_scan_aborted(struct cfg80211_registered_device *rdev,
14 struct net_device *netdev); 14 struct net_device *netdev);
15extern void nl80211_send_reg_change_event(struct regulatory_request *request); 15void nl80211_send_reg_change_event(struct regulatory_request *request);
16extern void nl80211_send_rx_auth(struct cfg80211_registered_device *rdev, 16void 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);
19extern void nl80211_send_rx_assoc(struct cfg80211_registered_device *rdev, 19void 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);
22extern void nl80211_send_deauth(struct cfg80211_registered_device *rdev, 22void nl80211_send_deauth(struct cfg80211_registered_device *rdev,
23 struct net_device *netdev,
24 const u8 *buf, size_t len);
25void nl80211_send_disassoc(struct cfg80211_registered_device *rdev,
26 struct net_device *netdev,
27 const u8 *buf, size_t len);
28void nl80211_send_auth_timeout(struct cfg80211_registered_device *rdev,
29 struct net_device *netdev,
30 const u8 *addr);
31void 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);
25extern void nl80211_send_disassoc(struct cfg80211_registered_device *rdev, 34void
26 struct net_device *netdev,
27 const u8 *buf, size_t len);
28extern void nl80211_send_auth_timeout(struct cfg80211_registered_device *rdev,
29 struct net_device *netdev,
30 const u8 *addr);
31extern void nl80211_send_assoc_timeout(struct cfg80211_registered_device *rdev,
32 struct net_device *netdev,
33 const u8 *addr);
34extern void
35nl80211_michael_mic_failure(struct cfg80211_registered_device *rdev, 35nl80211_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
40extern void 40void
41nl80211_send_beacon_hint_event(struct wiphy *wiphy, 41nl80211_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);