Re: [PATCH] CodingStyle: Add a chapter on conditional compilation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2014-11-03 at 11:46 -0500, Jonathan Corbet wrote:
> On Wed, 29 Oct 2014 11:15:17 -0700
> Josh Triplett <josh@xxxxxxxxxxxxxxxx> wrote:
> 
> > Document several common practices and conventions regarding conditional
> > compilation, most notably the preference for ifdefs in headers rather
> > than .c files.
> 
> OK, I've picked this one up for my 3.19 docs pull.

I think that Al Viro's suggestion from awhile ago:

https://lkml.org/lkml/2013/3/20/388

could still be in CodingStyle somewhere or in
another document like CodingStyleSuggestions.

Another thing that could go is the suggestion to
use Lindent.

https://lkml.org/lkml/2013/2/11/390


--
To unsubscribe from this list: send the line "unsubscribe linux-doc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux