diff options
author | Joe Perches <joe@perches.com> | 2013-09-23 20:37:59 +0200 |
---|---|---|
committer | Joe Perches <joe@perches.com> | 2013-09-24 21:54:08 +0200 |
commit | d6cc64ef73f74edfc485fefb5e6dc2ba625bd675 (patch) | |
tree | 14290fd94e89da0f49c12ffbda6e70af530b8c49 /drivers/net/ethernet/stmicro/stmmac/mmc.h | |
parent | sfc: Remove extern from function prototypes (diff) | |
download | linux-d6cc64ef73f74edfc485fefb5e6dc2ba625bd675.tar.xz linux-d6cc64ef73f74edfc485fefb5e6dc2ba625bd675.zip |
stmicro: 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/stmicro/stmmac/mmc.h')
-rw-r--r-- | drivers/net/ethernet/stmicro/stmmac/mmc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/mmc.h b/drivers/net/ethernet/stmicro/stmmac/mmc.h index 48ec001566b5..8607488cbcfc 100644 --- a/drivers/net/ethernet/stmicro/stmmac/mmc.h +++ b/drivers/net/ethernet/stmicro/stmmac/mmc.h @@ -128,8 +128,8 @@ struct stmmac_counters { unsigned int mmc_rx_icmp_err_octets; }; -extern void dwmac_mmc_ctrl(void __iomem *ioaddr, unsigned int mode); -extern void dwmac_mmc_intr_all_mask(void __iomem *ioaddr); -extern void dwmac_mmc_read(void __iomem *ioaddr, struct stmmac_counters *mmc); +void dwmac_mmc_ctrl(void __iomem *ioaddr, unsigned int mode); +void dwmac_mmc_intr_all_mask(void __iomem *ioaddr); +void dwmac_mmc_read(void __iomem *ioaddr, struct stmmac_counters *mmc); #endif /* __MMC_H__ */ |