| Kernel v2.6.9 /Documentation/CodingStyle |
|---|
 2.6.9
 Documentation
 CodingStyle
diff -Nru a/Documentation/CodingStyle b/Documentation/CodingStyle
--- a/Documentation/CodingStyle 2004-10-18 14:56:28 -07:00
+++ b/Documentation/CodingStyle 2004-10-18 14:56:28 -07:00
@@ -356,10 +356,10 @@
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); \
+ do_this(b, c); \
} while (0)
Things to avoid when using macros:
|