]> git.ipfire.org Git - thirdparty/kmod.git/blobdiff - CODING-STYLE
CODING-STYLE: add include order
[thirdparty/kmod.git] / 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"