Thread (1 message) 1 message, 1 author, 2013-09-26

Re: [PATCH 04/11] ath: Remove extern from function prototypes

From: Kalle Valo <hidden>
Date: 2013-09-26 07:30:16
Also in: linux-wireless, lkml

Possibly related (same subject, not in this thread)

Joe Perches [off-list ref] writes:
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>
---
 drivers/net/wireless/ath/ath10k/debug.h  | 8 ++++----
 drivers/net/wireless/ath/ath6kl/common.h | 3 +--
 drivers/net/wireless/ath/ath6kl/debug.h  | 9 ++++-----
 drivers/net/wireless/ath/ath9k/ath9k.h   | 2 +-
 4 files changed, 10 insertions(+), 12 deletions(-)
For the ath10k and ath6kl changes:

Acked-by: Kalle Valo <redacted>

-- 
Kalle Valo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help