aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/wext.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-09-23 14:33:42 -0400
committerDavid S. Miller <davem@davemloft.net>2013-09-23 16:29:40 -0400
commit9e4638cdc894698db6e1de10565ae404748f16c5 (patch)
treedc037d42602dcfe7a9e48bc4a7256704ad4dc98b /include/net/wext.h
parent160734399f968e4ac4d2f1db844c9c85a4952e05 (diff)
wext.h: 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 'include/net/wext.h')
-rw-r--r--include/net/wext.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/net/wext.h b/include/net/wext.h
index 4f6e7423174c..345911965dbb 100644
--- a/include/net/wext.h
+++ b/include/net/wext.h
@@ -6,13 +6,13 @@
6struct net; 6struct net;
7 7
8#ifdef CONFIG_WEXT_CORE 8#ifdef CONFIG_WEXT_CORE
9extern int wext_handle_ioctl(struct net *net, struct ifreq *ifr, unsigned int cmd, 9int wext_handle_ioctl(struct net *net, struct ifreq *ifr, unsigned int cmd,
10 void __user *arg); 10 void __user *arg);
11extern int compat_wext_handle_ioctl(struct net *net, unsigned int cmd, 11int compat_wext_handle_ioctl(struct net *net, unsigned int cmd,
12 unsigned long arg); 12 unsigned long arg);
13 13
14extern struct iw_statistics *get_wireless_stats(struct net_device *dev); 14struct iw_statistics *get_wireless_stats(struct net_device *dev);
15extern int call_commit_handler(struct net_device *dev); 15int call_commit_handler(struct net_device *dev);
16#else 16#else
17static inline int wext_handle_ioctl(struct net *net, struct ifreq *ifr, unsigned int cmd, 17static inline int wext_handle_ioctl(struct net *net, struct ifreq *ifr, unsigned int cmd,
18 void __user *arg) 18 void __user *arg)
@@ -27,8 +27,8 @@ static inline int compat_wext_handle_ioctl(struct net *net, unsigned int cmd,
27#endif 27#endif
28 28
29#ifdef CONFIG_WEXT_PROC 29#ifdef CONFIG_WEXT_PROC
30extern int wext_proc_init(struct net *net); 30int wext_proc_init(struct net *net);
31extern void wext_proc_exit(struct net *net); 31void wext_proc_exit(struct net *net);
32#else 32#else
33static inline int wext_proc_init(struct net *net) 33static inline int wext_proc_init(struct net *net)
34{ 34{