summaryrefslogtreecommitdiffstats
path: root/net/wireless/sysfs.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-10-18 13:48:25 -0700
committerDavid S. Miller <davem@davemloft.net>2013-10-19 19:12:11 -0400
commitc1b1203d65955c179fec617ff17a21273f33a414 (patch)
treea84a93bae0abe5e796dce767a320ab4262ffb63f /net/wireless/sysfs.h
parent7e58487b8cf5871d2a0fa03892dbd4b3a620d07f (diff)
downloadop-kernel-dev-c1b1203d65955c179fec617ff17a21273f33a414.zip
op-kernel-dev-c1b1203d65955c179fec617ff17a21273f33a414.tar.gz
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/sysfs.h')
-rw-r--r--net/wireless/sysfs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/wireless/sysfs.h b/net/wireless/sysfs.h
index 65acbeb..b533ed7 100644
--- a/net/wireless/sysfs.h
+++ b/net/wireless/sysfs.h
@@ -1,8 +1,8 @@
#ifndef __WIRELESS_SYSFS_H
#define __WIRELESS_SYSFS_H
-extern int wiphy_sysfs_init(void);
-extern void wiphy_sysfs_exit(void);
+int wiphy_sysfs_init(void);
+void wiphy_sysfs_exit(void);
extern struct class ieee80211_class;
OpenPOWER on IntegriCloud