diff options
author | Joe Perches <joe@perches.com> | 2013-09-24 00:11:32 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-24 16:09:27 +0200 |
commit | 6ae97e834a36ef0413ee1d3bf057ab8ee8ac63ab (patch) | |
tree | 3aa0ea0ecb5cf76fb061baa81901ce6a5a6dc203 /drivers/net/ethernet/atheros/atl1e/atl1e.h | |
parent | adi: Remove extern from function prototypes (diff) | |
download | linux-6ae97e834a36ef0413ee1d3bf057ab8ee8ac63ab.tar.xz linux-6ae97e834a36ef0413ee1d3bf057ab8ee8ac63ab.zip |
atheros: 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/atheros/atl1e/atl1e.h')
-rw-r--r-- | drivers/net/ethernet/atheros/atl1e/atl1e.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/ethernet/atheros/atl1e/atl1e.h b/drivers/net/ethernet/atheros/atl1e/atl1e.h index b5fd934585e9..1b0fe2d04a0e 100644 --- a/drivers/net/ethernet/atheros/atl1e/atl1e.h +++ b/drivers/net/ethernet/atheros/atl1e/atl1e.h @@ -499,10 +499,10 @@ struct atl1e_adapter { extern char atl1e_driver_name[]; extern char atl1e_driver_version[]; -extern void atl1e_check_options(struct atl1e_adapter *adapter); -extern int atl1e_up(struct atl1e_adapter *adapter); -extern void atl1e_down(struct atl1e_adapter *adapter); -extern void atl1e_reinit_locked(struct atl1e_adapter *adapter); -extern s32 atl1e_reset_hw(struct atl1e_hw *hw); -extern void atl1e_set_ethtool_ops(struct net_device *netdev); +void atl1e_check_options(struct atl1e_adapter *adapter); +int atl1e_up(struct atl1e_adapter *adapter); +void atl1e_down(struct atl1e_adapter *adapter); +void atl1e_reinit_locked(struct atl1e_adapter *adapter); +s32 atl1e_reset_hw(struct atl1e_hw *hw); +void atl1e_set_ethtool_ops(struct net_device *netdev); #endif /* _ATL1_E_H_ */ |