projects
/
platform
/
upstream
/
kmod.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ace7198
)
CODING-STYLE: add include order
author
Lucas De Marchi
<lucas.demarchi@intel.com>
Wed, 14 Jan 2015 14:33:10 +0000
(12:33 -0200)
committer
Lucas De Marchi
<lucas.demarchi@intel.com>
Wed, 14 Jan 2015 14:35:04 +0000
(12:35 -0200)
CODING-STYLE
patch
|
blob
|
history
diff --git
a/CODING-STYLE
b/CODING-STYLE
index
865252e
..
cab2b36
100644
(file)
--- 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"