diff options
author | Joe Perches <joe@perches.com> | 2013-09-23 18:11:29 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-24 10:09:18 -0400 |
commit | 68d34301518b678850ad897ef0dcd4b894632868 (patch) | |
tree | d2026e48b71dfa31e17ceb616f5f72e532d49f11 /drivers/net/ethernet/8390 | |
parent | 405eb0e5b85d82d307ff4706af4f08c3ccd1c1f7 (diff) |
8390: 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 'drivers/net/ethernet/8390')
-rw-r--r-- | drivers/net/ethernet/8390/8390.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/drivers/net/ethernet/8390/8390.h b/drivers/net/ethernet/8390/8390.h index ef325ffa1b5a..2923c51bb351 100644 --- a/drivers/net/ethernet/8390/8390.h +++ b/drivers/net/ethernet/8390/8390.h | |||
@@ -28,42 +28,42 @@ extern int ei_debug; | |||
28 | #endif | 28 | #endif |
29 | 29 | ||
30 | #ifdef CONFIG_NET_POLL_CONTROLLER | 30 | #ifdef CONFIG_NET_POLL_CONTROLLER |
31 | extern void ei_poll(struct net_device *dev); | 31 | void ei_poll(struct net_device *dev); |
32 | extern void eip_poll(struct net_device *dev); | 32 | void eip_poll(struct net_device *dev); |
33 | #endif | 33 | #endif |
34 | 34 | ||
35 | 35 | ||
36 | /* Without I/O delay - non ISA or later chips */ | 36 | /* Without I/O delay - non ISA or later chips */ |
37 | extern void NS8390_init(struct net_device *dev, int startp); | 37 | void NS8390_init(struct net_device *dev, int startp); |
38 | extern int ei_open(struct net_device *dev); | 38 | int ei_open(struct net_device *dev); |
39 | extern int ei_close(struct net_device *dev); | 39 | int ei_close(struct net_device *dev); |
40 | extern irqreturn_t ei_interrupt(int irq, void *dev_id); | 40 | irqreturn_t ei_interrupt(int irq, void *dev_id); |
41 | extern void ei_tx_timeout(struct net_device *dev); | 41 | void ei_tx_timeout(struct net_device *dev); |
42 | extern netdev_tx_t ei_start_xmit(struct sk_buff *skb, struct net_device *dev); | 42 | netdev_tx_t ei_start_xmit(struct sk_buff *skb, struct net_device *dev); |
43 | extern void ei_set_multicast_list(struct net_device *dev); | 43 | void ei_set_multicast_list(struct net_device *dev); |
44 | extern struct net_device_stats *ei_get_stats(struct net_device *dev); | 44 | struct net_device_stats *ei_get_stats(struct net_device *dev); |
45 | 45 | ||
46 | extern const struct net_device_ops ei_netdev_ops; | 46 | extern const struct net_device_ops ei_netdev_ops; |
47 | 47 | ||
48 | extern struct net_device *__alloc_ei_netdev(int size); | 48 | struct net_device *__alloc_ei_netdev(int size); |
49 | static inline struct net_device *alloc_ei_netdev(void) | 49 | static inline struct net_device *alloc_ei_netdev(void) |
50 | { | 50 | { |
51 | return __alloc_ei_netdev(0); | 51 | return __alloc_ei_netdev(0); |
52 | } | 52 | } |
53 | 53 | ||
54 | /* With I/O delay form */ | 54 | /* With I/O delay form */ |
55 | extern void NS8390p_init(struct net_device *dev, int startp); | 55 | void NS8390p_init(struct net_device *dev, int startp); |
56 | extern int eip_open(struct net_device *dev); | 56 | int eip_open(struct net_device *dev); |
57 | extern int eip_close(struct net_device *dev); | 57 | int eip_close(struct net_device *dev); |
58 | extern irqreturn_t eip_interrupt(int irq, void *dev_id); | 58 | irqreturn_t eip_interrupt(int irq, void *dev_id); |
59 | extern void eip_tx_timeout(struct net_device *dev); | 59 | void eip_tx_timeout(struct net_device *dev); |
60 | extern netdev_tx_t eip_start_xmit(struct sk_buff *skb, struct net_device *dev); | 60 | netdev_tx_t eip_start_xmit(struct sk_buff *skb, struct net_device *dev); |
61 | extern void eip_set_multicast_list(struct net_device *dev); | 61 | void eip_set_multicast_list(struct net_device *dev); |
62 | extern struct net_device_stats *eip_get_stats(struct net_device *dev); | 62 | struct net_device_stats *eip_get_stats(struct net_device *dev); |
63 | 63 | ||
64 | extern const struct net_device_ops eip_netdev_ops; | 64 | extern const struct net_device_ops eip_netdev_ops; |
65 | 65 | ||
66 | extern struct net_device *__alloc_eip_netdev(int size); | 66 | struct net_device *__alloc_eip_netdev(int size); |
67 | static inline struct net_device *alloc_eip_netdev(void) | 67 | static inline struct net_device *alloc_eip_netdev(void) |
68 | { | 68 | { |
69 | return __alloc_eip_netdev(0); | 69 | return __alloc_eip_netdev(0); |