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>
This commit is contained in:
committed by
David S. Miller
parent
7e58487b8c
commit
c1b1203d65
@@ -234,10 +234,10 @@ struct cfg80211_beacon_registration {
|
||||
};
|
||||
|
||||
/* free object */
|
||||
extern void cfg80211_dev_free(struct cfg80211_registered_device *rdev);
|
||||
void cfg80211_dev_free(struct cfg80211_registered_device *rdev);
|
||||
|
||||
extern int cfg80211_dev_rename(struct cfg80211_registered_device *rdev,
|
||||
char *newname);
|
||||
int cfg80211_dev_rename(struct cfg80211_registered_device *rdev,
|
||||
char *newname);
|
||||
|
||||
void ieee80211_set_bitrate_flags(struct wiphy *wiphy);
|
||||
|
||||
|
Reference in New Issue
Block a user