Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.6.9 /Documentation/CodingStyle

Filename:/Documentation/CodingStyle
Lines Added:2
Lines Deleted:2
Also changed in: (Previous) 2.6.9-final  2.6.9-rc4  2.6.9-rc3  2.6.9-rc2  2.6.9-rc1-bk19  2.6.9-rc1-bk18 
(Following) 2.6.13-git11  2.6.13-git12  2.6.14-rc1  2.6.14-rc1-git4  2.6.14-rc1-git5  2.6.14-rc2 

Location
[  2.6.9
  [  Documentation
     o  CodingStyle

Patch

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:


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.