Coding style: do_this(a,b) vs. do_this(a, b)

Pavel Machek
2004-08-17T10:39:08Z

Hi!

Coding style document is not consistent with itself on whether there
should be space after ","... This makes it standartize on ", " option.

Pavel

--- tmp/linux/Documentation/CodingStyle 2004-05-20 23:08:01.000000000 +0200
+++ linux/Documentation/CodingStyle 2004-06-06 00:27:11.000000000 +0200
@@ -356,11 +356,11 @@

Macros with multiple statements should be enclosed in a do - while block:

-#define macrofun(a,b,c) \
+#define macrofun(a, b, c) \
do { \
if (a == 5) \
- do_this(b,c); \
- } while (0)
+ do_this(b, c); \
+ } while(0)

Things to avoid when using macros:

--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!