CODE_STYLE: add example for indent style as well

This commit is contained in:
Daniel Stenberg 2016-03-14 10:40:02 +01:00
parent c5c7a3e40f
commit 2ad3cf2fba
1 changed files with 6 additions and 0 deletions

View File

@ -35,6 +35,12 @@ See the INTERNALS document on how we name non-exported library-global symbols.
We use only spaces for indentation, never TABs. We use two spaces for each new
open brace.
if(something_is_true) {
while(second_statement == fine) {
moo();
}
}
## Comments
Since we write C89 code, `//` comments are not allowed. They weren't