]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
CODING_STYLE: document that we prefer /* comments */ over // comments
authorLennart Poettering <lennart@poettering.net>
Wed, 22 Apr 2015 18:25:06 +0000 (20:25 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 22 Apr 2015 20:56:24 +0000 (22:56 +0200)
CODING_STYLE

index a295ca77f25fab983e1314d4bb56dbd266e7f0f4..70f45bebb15e81f3cc575eb1603259b169db42e7 100644 (file)
@@ -1,6 +1,10 @@
 - 8ch indent, no tabs, except for files in man/ which are 2ch indent,
   and still no tabs
 
+- We prefer /* comments */ over // comments, please. This is not C++, after
+  all. (Yes we know that C99 supports both kinds of comments, but still,
+  please!)
+
 - Don't break code lines too eagerly. We do *not* force line breaks at
   80ch, all of today's screens should be much larger than that. But
   then again, don't overdo it, ~140ch should be enough really.