summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/adi
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-09-24 00:11:30 +0200
committerDavid S. Miller <davem@davemloft.net>2013-09-24 16:09:18 +0200
commit3398032c65127749683e44cc263049606fec4322 (patch)
tree265fea4f4415212fe005175d219ed31434374f5e /drivers/net/ethernet/adi
parent8390: Remove extern from function prototypes (diff)
downloadlinux-3398032c65127749683e44cc263049606fec4322.tar.xz
linux-3398032c65127749683e44cc263049606fec4322.zip
adi: 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/adi')
-rw-r--r--drivers/net/ethernet/adi/bfin_mac.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/adi/bfin_mac.h b/drivers/net/ethernet/adi/bfin_mac.h
index 7a07ee07906b..6dec86ac97cd 100644
--- a/drivers/net/ethernet/adi/bfin_mac.h
+++ b/drivers/net/ethernet/adi/bfin_mac.h
@@ -104,6 +104,6 @@ struct bfin_mac_local {
#endif
};
-extern int bfin_get_ether_addr(char *addr);
+int bfin_get_ether_addr(char *addr);
#endif