aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath6kl
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2013-09-23 14:37:59 -0400
committerJoe Perches <joe@perches.com>2013-09-24 19:52:29 -0400
commita3dabaf02d36dbb4051188b706a3e66e6465c56b (patch)
tree23b79194896ff40c5e57a6991bc902c0e0c192fa /drivers/net/wireless/ath/ath6kl
parent8bedb968b246c5bf5009f8f083451506a496d6e8 (diff)
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')
-rw-r--r--drivers/net/wireless/ath/ath6kl/common.h3
-rw-r--r--drivers/net/wireless/ath/ath6kl/debug.h9
2 files changed, 5 insertions, 7 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 @@
22 22
23#define ATH6KL_MAX_IE 256 23#define ATH6KL_MAX_IE 256
24 24
25extern __printf(2, 3) 25__printf(2, 3) int ath6kl_printk(const char *level, const char *fmt, ...);
26int ath6kl_printk(const char *level, const char *fmt, ...);
27 26
28/* 27/*
29 * Reflects the version of binary interface exposed by ATH6KL target 28 * Reflects the version of binary interface exposed by ATH6KL target
diff --git a/drivers/net/wireless/ath/ath6kl/debug.h b/drivers/net/wireless/ath/ath6kl/debug.h
index 74369de00fb5..ca9ba005f287 100644
--- a/drivers/net/wireless/ath/ath6kl/debug.h
+++ b/drivers/net/wireless/ath/ath6kl/debug.h
@@ -50,11 +50,10 @@ enum ATH6K_DEBUG_MASK {
50}; 50};
51 51
52extern unsigned int debug_mask; 52extern unsigned int debug_mask;
53extern __printf(2, 3) 53__printf(2, 3) int ath6kl_printk(const char *level, const char *fmt, ...);
54int ath6kl_printk(const char *level, const char *fmt, ...); 54__printf(1, 2) int ath6kl_info(const char *fmt, ...);
55extern __printf(1, 2) int ath6kl_info(const char *fmt, ...); 55__printf(1, 2) int ath6kl_err(const char *fmt, ...);
56extern __printf(1, 2) int ath6kl_err(const char *fmt, ...); 56__printf(1, 2) int ath6kl_warn(const char *fmt, ...);
57extern __printf(1, 2) int ath6kl_warn(const char *fmt, ...);
58 57
59enum ath6kl_war { 58enum ath6kl_war {
60 ATH6KL_WAR_INVALID_RATE, 59 ATH6KL_WAR_INVALID_RATE,