Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Johannes Berg and committed by
John W. Linville
dad82330 2a783c13

+29 -29
+29 -29
net/wireless/nl80211.h
··· 3 3 4 4 #include "core.h" 5 5 6 - extern int nl80211_init(void); 7 - extern void nl80211_exit(void); 8 - extern void nl80211_notify_dev_rename(struct cfg80211_registered_device *rdev); 9 - extern void nl80211_send_scan_start(struct cfg80211_registered_device *rdev, 10 - struct net_device *netdev); 11 - extern void nl80211_send_scan_done(struct cfg80211_registered_device *rdev, 12 - struct net_device *netdev); 13 - extern void nl80211_send_scan_aborted(struct cfg80211_registered_device *rdev, 14 - struct net_device *netdev); 15 - extern void nl80211_send_reg_change_event(struct regulatory_request *request); 16 - extern void nl80211_send_rx_auth(struct cfg80211_registered_device *rdev, 17 - struct net_device *netdev, 18 - const u8 *buf, size_t len); 19 - extern void nl80211_send_rx_assoc(struct cfg80211_registered_device *rdev, 20 - struct net_device *netdev, 21 - const u8 *buf, size_t len); 22 - extern void nl80211_send_deauth(struct cfg80211_registered_device *rdev, 6 + int nl80211_init(void); 7 + void nl80211_exit(void); 8 + void nl80211_notify_dev_rename(struct cfg80211_registered_device *rdev); 9 + void nl80211_send_scan_start(struct cfg80211_registered_device *rdev, 10 + struct net_device *netdev); 11 + void nl80211_send_scan_done(struct cfg80211_registered_device *rdev, 12 + struct net_device *netdev); 13 + void nl80211_send_scan_aborted(struct cfg80211_registered_device *rdev, 14 + struct net_device *netdev); 15 + void nl80211_send_reg_change_event(struct regulatory_request *request); 16 + void nl80211_send_rx_auth(struct cfg80211_registered_device *rdev, 17 + struct net_device *netdev, 18 + const u8 *buf, size_t len); 19 + void nl80211_send_rx_assoc(struct cfg80211_registered_device *rdev, 20 + struct net_device *netdev, 21 + const u8 *buf, size_t len); 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 32 struct net_device *netdev, 24 - const u8 *buf, size_t len); 25 - extern void nl80211_send_disassoc(struct cfg80211_registered_device *rdev, 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 33 + const u8 *addr); 34 + void 35 35 nl80211_michael_mic_failure(struct cfg80211_registered_device *rdev, 36 36 struct net_device *netdev, const u8 *addr, 37 37 enum nl80211_key_type key_type, 38 38 int key_id, const u8 *tsc); 39 39 40 - extern void 40 + void 41 41 nl80211_send_beacon_hint_event(struct wiphy *wiphy, 42 42 struct ieee80211_channel *channel_before, 43 43 struct ieee80211_channel *channel_after);