]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
CODING-STYLE: add include order
authorLucas De Marchi <lucas.demarchi@intel.com>
Wed, 14 Jan 2015 14:33:10 +0000 (12:33 -0200)
committerLucas De Marchi <lucas.demarchi@intel.com>
Wed, 14 Jan 2015 14:35:04 +0000 (12:35 -0200)
CODING-STYLE

index 865252e4edd71f0bc9ef2dff73c165537efd594a..cab2b36089519110efade1dbf1c35347db980a91 100644 (file)
@@ -60,3 +60,10 @@ int i = 1;  // wrong
 
 for (i = 0; i < 3; i++) {
 }
+
+4) Let the includes in the following order, separated by a new line:
+       < system headers >
+       < shared/* >
+       < libkmod >
+       < tool >
+       "local headers"