equal
deleted
inserted
replaced
6 - Do not use tabs, use space characters; |
6 - Do not use tabs, use space characters; |
7 - Avoid trailing whitespace; |
7 - Avoid trailing whitespace; |
8 - Avoid lines longer than 80 characters; |
8 - Avoid lines longer than 80 characters; |
9 - Indentation is 2 spaces (ok, maybe it isn't a good idea but it's the |
9 - Indentation is 2 spaces (ok, maybe it isn't a good idea but it's the |
10 current style); |
10 current style); |
|
11 - Defined types shall end with _t |
11 - Put a space after non-functions statements (e.g. if, while...) |
12 - Put a space after non-functions statements (e.g. if, while...) |
12 - Put the opening brace last on the same line, and put the closing brace first |
13 - Put the opening brace last on the same line, and put the closing brace first |
13 except for functions, where the opening brace should be alone on a new line. |
14 except for functions, where the opening brace should be alone on a new line. |
14 |
15 |
15 Example: |
16 Example: |