C99 [was Fwd: Cell_log > gsmmap]

Wolfram Sang wolfram at the-dreams.de
Tue Jan 25 20:39:54 UTC 2011

>> Just out of interest, do we really want to to avoid C99 ? I know there
>> is this implicit "kernel style" coding rule, does it include C99 ?
> seems to be just kernel style and not really related to C99.
> Documentation/CodingStyle
> Linux style for comments is the C89 "/* ... */" style.
> Don't use C99-style "// ..." comments.

The main advantage here is that a consistent commenting style helps
readability IMO. When doing kernel code, I use '//' only for private
TODO-areas, because it sticks out so much :)



More information about the baseband-devel mailing list