From: Alexey Dobriyan Date: Thu, 3 Jan 2019 23:26:16 +0000 (-0800) Subject: Documentation/process/coding-style.rst: don't use "extern" with function prototypes X-Git-Tag: v5.4-rc1~1866^2~52 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3fe5dbfef47e992b810cbe82af1df02d8255fb8c;p=platform%2Fkernel%2Flinux-rpi.git Documentation/process/coding-style.rst: don't use "extern" with function prototypes `extern' with function prototypes makes lines longer and creates more characters on the screen. Do not bug people with checkpatch.pl warnings for now as fallout can be devastating. Link: http://lkml.kernel.org/r/20181101134153.GA29267@avx2 Signed-off-by: Alexey Dobriyan Reviewed-by: Andrew Morton Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/Documentation/process/coding-style.rst b/Documentation/process/coding-style.rst index 277c113..b78dd68 100644 --- a/Documentation/process/coding-style.rst +++ b/Documentation/process/coding-style.rst @@ -443,6 +443,9 @@ In function prototypes, include parameter names with their data types. Although this is not required by the C language, it is preferred in Linux because it is a simple way to add valuable information for the reader. +Do not use the `extern' keyword with function prototypes as this makes +lines longer and isn't strictly necessary. + 7) Centralized exiting of functions -----------------------------------