svn commit: r230231 - head/sys/kern

Sergey Kandaurov pluknet at gmail.com
Tue Jan 17 06:03:13 UTC 2012


On 17 January 2012 02:13, Joerg Sonnenberger <joerg at britannica.bec.de> wrote:
> On Mon, Jan 16, 2012 at 08:42:56PM +0000, Sergey Kandaurov wrote:
>> Log:
>>   Be pedantic and change // comment to C-style one.
>
> If you want to be pedantic, at least be correct. // is perfectly valid
> C99.
>

Yes, you're right. Sorry for being confusing in the commit message.

The intention was to provide comments with pre-C99 syntax for
syntax-checking / static analyzing tools which old enough to not
understand this syntax but otherwise still good. Also, style(9) doesn't
describe or cite //-style comments, which is usually treated there as
"avoid it to use". This was only such comment in sys/kern. After this
change there is no // comments in sys/sys, sys/kern, sys/vm in head.

-- 
wbr,
pluknet


More information about the svn-src-all mailing list