lkml.org 
[lkml]   [2013]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH 08/11] iwlwifi: Remove extern from function prototypes
Date
> Subject: [PATCH 08/11] iwlwifi: 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>
> ---
> drivers/net/wireless/iwlwifi/dvm/agn.h | 2 +-
> drivers/net/wireless/iwlwifi/dvm/dev.h | 2 +-
> drivers/net/wireless/iwlwifi/dvm/rs.h | 8 ++++----
> drivers/net/wireless/iwlwifi/mvm/rs.h | 9 ++++-----
> 4 files changed, 10 insertions(+), 11 deletions(-)
>

ACK


\
 
 \ /
  Last update: 2013-09-27 06:41    [W:0.123 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site