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

- From: Kalle Valo \<hidden\>
- Date: 2013-09-26 07:30:16 
- List: netdev
- Page: https://ratatoskr.run/netdev/2013/09/4122936
- Thread: https://ratatoskr.run/netdev/2013/09/4122936/t.md

```text
Joe Perches [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
```
