From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Howells Subject: Re: [PATCH] checkpatch: Warn when using extern with function prototypes in .h files Date: Thu, 01 Aug 2013 13:21:04 +0100 Message-ID: <25105.1375359664@warthog.procyon.org.uk> References: <1374721150.1924.26.camel@joe-AO722> <1374602291.3387.17.camel@joe-AO722> <1374716480.1924.18.camel@joe-AO722> <20130725014732.GA10036@order.stressinduktion.org> Cc: dhowells@redhat.com, Andrew Morton , Andy Whitcroft , Hannes Frederic Sowa , Cong Wang , linux-kernel@vger.kernel.org, netdev@vger.kernel.org To: Joe Perches Return-path: In-Reply-To: <1374721150.1924.26.camel@joe-AO722> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org 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. Please standardise on there _being_ externs if you must do this. It's gratuitous change anyway and not worth the churn. David