Commit 2ad3cf2f authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

CODE_STYLE: add example for indent style as well

parent c5c7a3e4
Loading
Loading
Loading
Loading
+6 −0
Original line number Original line Diff line number Diff line
@@ -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
We use only spaces for indentation, never TABs. We use two spaces for each new
open brace.
open brace.


    if(something_is_true) {
      while(second_statement == fine) {
        moo();
      }
    }

## Comments
## Comments


Since we write C89 code, `//` comments are not allowed. They weren't
Since we write C89 code, `//` comments are not allowed. They weren't