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>
This commit is contained in:

committed by
David S. Miller

parent
a22b8f4b57
commit
0e418f94d3
@@ -112,20 +112,19 @@ do { if(!(expr)) { \
|
||||
struct net_device;
|
||||
struct packet_type;
|
||||
|
||||
extern void irda_proc_register(void);
|
||||
extern void irda_proc_unregister(void);
|
||||
void irda_proc_register(void);
|
||||
void irda_proc_unregister(void);
|
||||
|
||||
extern int irda_sysctl_register(void);
|
||||
extern void irda_sysctl_unregister(void);
|
||||
int irda_sysctl_register(void);
|
||||
void irda_sysctl_unregister(void);
|
||||
|
||||
extern int irsock_init(void);
|
||||
extern void irsock_cleanup(void);
|
||||
int irsock_init(void);
|
||||
void irsock_cleanup(void);
|
||||
|
||||
extern int irda_nl_register(void);
|
||||
extern void irda_nl_unregister(void);
|
||||
int irda_nl_register(void);
|
||||
void irda_nl_unregister(void);
|
||||
|
||||
extern int irlap_driver_rcv(struct sk_buff *skb, struct net_device *dev,
|
||||
struct packet_type *ptype,
|
||||
struct net_device *orig_dev);
|
||||
int irlap_driver_rcv(struct sk_buff *skb, struct net_device *dev,
|
||||
struct packet_type *ptype, struct net_device *orig_dev);
|
||||
|
||||
#endif /* NET_IRDA_H */
|
||||
|
Reference in New Issue
Block a user