diff options
author | Joe Perches <joe@perches.com> | 2013-09-23 14:37:44 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-23 16:29:42 -0400 |
commit | 0e418f94d3fcdc79c88841f3338e768e1b0966a1 (patch) | |
tree | debccb54e18acb28bcde6c9ba60b5c47adcb60c9 /include/net/irda/irda.h | |
parent | a22b8f4b57af5a4bdda2039d82845285b2a2b7ec (diff) |
irda: 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/irda/irda.h')
-rw-r--r-- | include/net/irda/irda.h | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/include/net/irda/irda.h b/include/net/irda/irda.h index 3bed61d379a8..a059465101ff 100644 --- a/include/net/irda/irda.h +++ b/include/net/irda/irda.h | |||
@@ -112,20 +112,19 @@ do { if(!(expr)) { \ | |||
112 | struct net_device; | 112 | struct net_device; |
113 | struct packet_type; | 113 | struct packet_type; |
114 | 114 | ||
115 | extern void irda_proc_register(void); | 115 | void irda_proc_register(void); |
116 | extern void irda_proc_unregister(void); | 116 | void irda_proc_unregister(void); |
117 | 117 | ||
118 | extern int irda_sysctl_register(void); | 118 | int irda_sysctl_register(void); |
119 | extern void irda_sysctl_unregister(void); | 119 | void irda_sysctl_unregister(void); |
120 | 120 | ||
121 | extern int irsock_init(void); | 121 | int irsock_init(void); |
122 | extern void irsock_cleanup(void); | 122 | void irsock_cleanup(void); |
123 | 123 | ||
124 | extern int irda_nl_register(void); | 124 | int irda_nl_register(void); |
125 | extern void irda_nl_unregister(void); | 125 | void irda_nl_unregister(void); |
126 | 126 | ||
127 | extern int irlap_driver_rcv(struct sk_buff *skb, struct net_device *dev, | 127 | int irlap_driver_rcv(struct sk_buff *skb, struct net_device *dev, |
128 | struct packet_type *ptype, | 128 | struct packet_type *ptype, struct net_device *orig_dev); |
129 | struct net_device *orig_dev); | ||
130 | 129 | ||
131 | #endif /* NET_IRDA_H */ | 130 | #endif /* NET_IRDA_H */ |