commit | 21228a1868692c34ade648dbb0bc3db0069ab551 | [log] [tgz] |
---|---|---|
author | Josh Triplett <josh@joshtriplett.org> | Wed Oct 29 11:15:17 2014 -0700 |
committer | Jonathan Corbet <corbet@lwn.net> | Mon Nov 03 11:46:02 2014 -0500 |
tree | a545010214c9e42931bef25b2fc06880be885bec | |
parent | 0df1f2487d2f0d04703f142813d53615d62a1da4 [diff] |
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>