diff options
author | Joe Perches <joe@perches.com> | 2013-09-23 15:11:32 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-24 10:09:27 -0400 |
commit | 6ae97e834a36ef0413ee1d3bf057ab8ee8ac63ab (patch) | |
tree | 3aa0ea0ecb5cf76fb061baa81901ce6a5a6dc203 /drivers/net/ethernet/atheros/atlx | |
parent | 3398032c65127749683e44cc263049606fec4322 (diff) |
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/atlx')
-rw-r--r-- | drivers/net/ethernet/atheros/atlx/atl2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/atheros/atlx/atl2.h b/drivers/net/ethernet/atheros/atlx/atl2.h index 3ebe19f7242..2f27d4c4c3a 100644 --- a/drivers/net/ethernet/atheros/atlx/atl2.h +++ b/drivers/net/ethernet/atheros/atlx/atl2.h @@ -42,7 +42,7 @@ #include "atlx.h" #ifdef ETHTOOL_OPS_COMPAT -extern int ethtool_ioctl(struct ifreq *ifr); +int ethtool_ioctl(struct ifreq *ifr); #endif #define PCI_COMMAND_REGISTER PCI_COMMAND |