diff options
author | Joe Perches <joe@perches.com> | 2013-09-23 22:37:59 +0400 |
---|---|---|
committer | Joe Perches <joe@perches.com> | 2013-09-25 03:52:29 +0400 |
commit | a3dabaf02d36dbb4051188b706a3e66e6465c56b (patch) | |
tree | 23b79194896ff40c5e57a6991bc902c0e0c192fa /drivers/net/wireless/ath/ath6kl/common.h | |
parent | 8bedb968b246c5bf5009f8f083451506a496d6e8 (diff) | |
download | linux-a3dabaf02d36dbb4051188b706a3e66e6465c56b.tar.xz |
ath: 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/wireless/ath/ath6kl/common.h')
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/common.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/common.h b/drivers/net/wireless/ath/ath6kl/common.h index 98a886154d9c..05debf700a84 100644 --- a/drivers/net/wireless/ath/ath6kl/common.h +++ b/drivers/net/wireless/ath/ath6kl/common.h @@ -22,8 +22,7 @@ #define ATH6KL_MAX_IE 256 -extern __printf(2, 3) -int ath6kl_printk(const char *level, const char *fmt, ...); +__printf(2, 3) int ath6kl_printk(const char *level, const char *fmt, ...); /* * Reflects the version of binary interface exposed by ATH6KL target |