CodingStyle: Add a chapter on conditional compilation
authorJosh Triplett <josh@joshtriplett.org>
Wed, 29 Oct 2014 18:15:17 +0000 (11:15 -0700)
committerJonathan Corbet <corbet@lwn.net>
Mon, 3 Nov 2014 16:46:02 +0000 (11:46 -0500)
commit21228a1868692c34ade648dbb0bc3db0069ab551
treea545010214c9e42931bef25b2fc06880be885bec
parent0df1f2487d2f0d04703f142813d53615d62a1da4
CodingStyle: Add a chapter on conditional compilation

Document several common practices and conventions regarding conditional
compilation, most notably the preference for ifdefs in headers rather
than .c files.

Signed-off-by: Josh Triplett <josh@joshtriplett.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/CodingStyle
This page took 0.028735 seconds and 5 git commands to generate.