summaryrefslogtreecommitdiff
path: root/CODING-STYLE
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2015-01-14 12:33:10 -0200
committerLucas De Marchi <lucas.demarchi@intel.com>2015-01-14 12:35:04 -0200
commit5ca15057e32e4ac376df1d49da0ea0bd43892bd7 (patch)
tree1112589a1ec4e3ce001890dac3ac55a086af6f88 /CODING-STYLE
parentace71985fc5c27d9ddaa72d62bbbdaf7e23d6a6f (diff)
downloadkmod-5ca15057e32e4ac376df1d49da0ea0bd43892bd7.tar.gz
CODING-STYLE: add include order
Diffstat (limited to 'CODING-STYLE')
-rw-r--r--CODING-STYLE7
1 files changed, 7 insertions, 0 deletions
diff --git a/CODING-STYLE b/CODING-STYLE
index 865252e..cab2b36 100644
--- a/CODING-STYLE
+++ b/CODING-STYLE
@@ -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"