提交 6ae97e83 编写于 作者: J Joe Perches 提交者: David S. Miller

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: NJoe Perches <joe@perches.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 3398032c
...@@ -600,7 +600,7 @@ struct atl1c_adapter { ...@@ -600,7 +600,7 @@ struct atl1c_adapter {
extern char atl1c_driver_name[]; extern char atl1c_driver_name[];
extern char atl1c_driver_version[]; extern char atl1c_driver_version[];
extern void atl1c_reinit_locked(struct atl1c_adapter *adapter); void atl1c_reinit_locked(struct atl1c_adapter *adapter);
extern s32 atl1c_reset_hw(struct atl1c_hw *hw); s32 atl1c_reset_hw(struct atl1c_hw *hw);
extern void atl1c_set_ethtool_ops(struct net_device *netdev); void atl1c_set_ethtool_ops(struct net_device *netdev);
#endif /* _ATL1C_H_ */ #endif /* _ATL1C_H_ */
...@@ -499,10 +499,10 @@ struct atl1e_adapter { ...@@ -499,10 +499,10 @@ struct atl1e_adapter {
extern char atl1e_driver_name[]; extern char atl1e_driver_name[];
extern char atl1e_driver_version[]; extern char atl1e_driver_version[];
extern void atl1e_check_options(struct atl1e_adapter *adapter); void atl1e_check_options(struct atl1e_adapter *adapter);
extern int atl1e_up(struct atl1e_adapter *adapter); int atl1e_up(struct atl1e_adapter *adapter);
extern void atl1e_down(struct atl1e_adapter *adapter); void atl1e_down(struct atl1e_adapter *adapter);
extern void atl1e_reinit_locked(struct atl1e_adapter *adapter); void atl1e_reinit_locked(struct atl1e_adapter *adapter);
extern s32 atl1e_reset_hw(struct atl1e_hw *hw); s32 atl1e_reset_hw(struct atl1e_hw *hw);
extern void atl1e_set_ethtool_ops(struct net_device *netdev); void atl1e_set_ethtool_ops(struct net_device *netdev);
#endif /* _ATL1_E_H_ */ #endif /* _ATL1_E_H_ */
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
#include "atlx.h" #include "atlx.h"
#ifdef ETHTOOL_OPS_COMPAT #ifdef ETHTOOL_OPS_COMPAT
extern int ethtool_ioctl(struct ifreq *ifr); int ethtool_ioctl(struct ifreq *ifr);
#endif #endif
#define PCI_COMMAND_REGISTER PCI_COMMAND #define PCI_COMMAND_REGISTER PCI_COMMAND
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册