From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Arend van Spriel" Subject: Re: [PATCH] checkpatch: Warn when using extern with function prototypes in .h files Date: Thu, 1 Aug 2013 15:00:47 +0200 Message-ID: <51FA5BFF.6050901@broadcom.com> References: <1374721150.1924.26.camel@joe-AO722> <1374602291.3387.17.camel@joe-AO722> <1374716480.1924.18.camel@joe-AO722> <20130725014732.GA10036@order.stressinduktion.org> <25105.1375359664@warthog.procyon.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "Joe Perches" , "Andrew Morton" , "Andy Whitcroft" , "Hannes Frederic Sowa" , "Cong Wang" , linux-kernel@vger.kernel.org, netdev@vger.kernel.org To: "David Howells" Return-path: In-Reply-To: <25105.1375359664@warthog.procyon.org.uk> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On 08/01/2013 02:21 PM, David Howells wrote: > Joe Perches wrote: > >> Using the extern keyword on function prototypes is superfluous >> visual noise so suggest removing it. >> >> Using extern can cause unnecessary line wrapping at 80 columns >> and unnecessarily long multi-line function prototypes. >> >> Suggested-by: Hannes Frederic Sowa >> Signed-off-by: Joe Perches > > Nak. > > The "extern" makes it much easier to pick out at a glance. Really? Grouping function prototypes within the header file is much more helpful for spotting them. Regards, Arend > Please standardise on there _being_ externs if you must do this. > > It's gratuitous change anyway and not worth the churn. > > David > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ >