aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless
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/wireless
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/wireless')
-rw-r--r--net/wireless/core.h6
-rw-r--r--net/wireless/sysfs.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/net/wireless/core.h b/net/wireless/core.h
index b43efac4efca..74beff1e926f 100644
--- a/net/wireless/core.h
+++ b/net/wireless/core.h
@@ -234,10 +234,10 @@ struct cfg80211_beacon_registration {
234}; 234};
235 235
236/* free object */ 236/* free object */
237extern void cfg80211_dev_free(struct cfg80211_registered_device *rdev); 237void cfg80211_dev_free(struct cfg80211_registered_device *rdev);
238 238
239extern int cfg80211_dev_rename(struct cfg80211_registered_device *rdev, 239int cfg80211_dev_rename(struct cfg80211_registered_device *rdev,
240 char *newname); 240 char *newname);
241 241
242void ieee80211_set_bitrate_flags(struct wiphy *wiphy); 242void ieee80211_set_bitrate_flags(struct wiphy *wiphy);
243 243
diff --git a/net/wireless/sysfs.h b/net/wireless/sysfs.h
index 65acbebd3711..b533ed71daff 100644
--- a/net/wireless/sysfs.h
+++ b/net/wireless/sysfs.h
@@ -1,8 +1,8 @@
1#ifndef __WIRELESS_SYSFS_H 1#ifndef __WIRELESS_SYSFS_H
2#define __WIRELESS_SYSFS_H 2#define __WIRELESS_SYSFS_H
3 3
4extern int wiphy_sysfs_init(void); 4int wiphy_sysfs_init(void);
5extern void wiphy_sysfs_exit(void); 5void wiphy_sysfs_exit(void);
6 6
7extern struct class ieee80211_class; 7extern struct class ieee80211_class;
8 8