checkpatch: make extern in .h prototypes quieter
authorJoe Perches <joe@perches.com>
Tue, 24 Sep 2013 22:27:46 +0000 (15:27 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 25 Sep 2013 00:00:26 +0000 (17:00 -0700)
commitd1d85780dd30e137d8ff505c1c2e79eaf729853d
tree5688d52d88f6a97b7b8ae26afa1f58ac10dd9347
parent58f09e00ae095e46ef9edfcf3a5fd9ccdfad065e
checkpatch: make extern in .h prototypes quieter

The use of extern in .h files is a bit contentious.

Make the warning be emitted only when --strict is used on the command
line.

Signed-off-by: Joe Perches <joe@perches.com>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl