diff options
author | Joe Perches <joe@perches.com> | 2013-09-23 14:37:59 -0400 |
---|---|---|
committer | Joe Perches <joe@perches.com> | 2013-09-24 15:54:12 -0400 |
commit | 3e0dd1f4722f8e0c10a47b9bbb26e891e79fef60 (patch) | |
tree | 51ea1bbf539273dc1f47025830d3ff583d2effff /drivers/net/ethernet/toshiba/spider_net.h | |
parent | 95f7f1519d5b1ad7c51b3ac561a0903462202d36 (diff) |
toshiba: 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 'drivers/net/ethernet/toshiba/spider_net.h')
-rw-r--r-- | drivers/net/ethernet/toshiba/spider_net.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/toshiba/spider_net.h b/drivers/net/ethernet/toshiba/spider_net.h index 4ba2135474d1..9b6af0845a11 100644 --- a/drivers/net/ethernet/toshiba/spider_net.h +++ b/drivers/net/ethernet/toshiba/spider_net.h | |||
@@ -29,8 +29,8 @@ | |||
29 | 29 | ||
30 | #include <linux/sungem_phy.h> | 30 | #include <linux/sungem_phy.h> |
31 | 31 | ||
32 | extern int spider_net_stop(struct net_device *netdev); | 32 | int spider_net_stop(struct net_device *netdev); |
33 | extern int spider_net_open(struct net_device *netdev); | 33 | int spider_net_open(struct net_device *netdev); |
34 | 34 | ||
35 | extern const struct ethtool_ops spider_net_ethtool_ops; | 35 | extern const struct ethtool_ops spider_net_ethtool_ops; |
36 | 36 | ||