mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Please discard "checkpatch: warn when using extern with function prototypes in .h files"
@ 2013-09-02 13:51 David Howells
  2013-09-02 16:21 ` [PATCH] checkpatch: Make extern in .h prototypes quieter Joe Perches
  0 siblings, 1 reply; 4+ messages in thread
From: David Howells @ 2013-09-02 13:51 UTC (permalink / raw)
  To: joe, akpm, hannes; +Cc: dhowells, linux-kernel, dwmw2


I noticed that a patch got committed to checkpatch to complain about function
prototypes prefixed by "extern".

Please discard/revert this patch:

	commit 7cd0f806622836e386ef18ad1950a9a729803019
	Author: Joe Perches <joe@perches.com>
	Date:   Wed Aug 28 10:16:00 2013 +1000
	checkpatch: warn when using extern with function prototypes in .h files

	Using the extern keyword on function prototypes is superfluous visual
	noise so suggest removing it.

This is inaccurate.  It's actually a useful visual cue - so if anything, please
make checkpatch indicate that it be added to all future function prototypes.

David

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-09-02 20:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-02 13:51 Please discard "checkpatch: warn when using extern with function prototypes in .h files" David Howells
2013-09-02 16:21 ` [PATCH] checkpatch: Make extern in .h prototypes quieter Joe Perches
2013-09-02 20:51   ` Geert Uytterhoeven
2013-09-02 20:58     ` Joe Perches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®