aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/toshiba/spider_net.h
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-09-23 11:37:59 -0700
committerJoe Perches <joe@perches.com>2013-09-24 12:54:12 -0700
commit3e0dd1f4722f8e0c10a47b9bbb26e891e79fef60 (patch)
tree51ea1bbf539273dc1f47025830d3ff583d2effff /drivers/net/ethernet/toshiba/spider_net.h
parentti: Remove extern from function prototypes (diff)
downloadlinux-dev-3e0dd1f4722f8e0c10a47b9bbb26e891e79fef60.tar.xz
linux-dev-3e0dd1f4722f8e0c10a47b9bbb26e891e79fef60.zip
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 '')
-rw-r--r--drivers/net/ethernet/toshiba/spider_net.h4
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 @@
#include <linux/sungem_phy.h>
-extern int spider_net_stop(struct net_device *netdev);
-extern int spider_net_open(struct net_device *netdev);
+int spider_net_stop(struct net_device *netdev);
+int spider_net_open(struct net_device *netdev);
extern const struct ethtool_ops spider_net_ethtool_ops;