aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fddidevice.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-09-26 17:48:15 -0400
committerJoe Perches <joe@perches.com>2013-09-26 18:06:58 -0400
commitf629d208d27a22f495b7734eede585b5d207e912 (patch)
tree1fd20f80eb03de507641f4069b39a07df3d57000 /include/linux/fddidevice.h
parent7965bd4d71ef7cf1db00afb9e406ddfc13443c13 (diff)
[networking]device.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>
Diffstat (limited to 'include/linux/fddidevice.h')
-rw-r--r--include/linux/fddidevice.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/linux/fddidevice.h b/include/linux/fddidevice.h
index 155bafd9e886..9a79f0106da1 100644
--- a/include/linux/fddidevice.h
+++ b/include/linux/fddidevice.h
@@ -25,10 +25,9 @@
25#include <linux/if_fddi.h> 25#include <linux/if_fddi.h>
26 26
27#ifdef __KERNEL__ 27#ifdef __KERNEL__
28extern __be16 fddi_type_trans(struct sk_buff *skb, 28__be16 fddi_type_trans(struct sk_buff *skb, struct net_device *dev);
29 struct net_device *dev); 29int fddi_change_mtu(struct net_device *dev, int new_mtu);
30extern int fddi_change_mtu(struct net_device *dev, int new_mtu); 30struct net_device *alloc_fddidev(int sizeof_priv);
31extern struct net_device *alloc_fddidev(int sizeof_priv);
32#endif 31#endif
33 32
34#endif /* _LINUX_FDDIDEVICE_H */ 33#endif /* _LINUX_FDDIDEVICE_H */