diff options
Diffstat (limited to 'docs/coding_conventions_c.md')
-rw-r--r-- | docs/coding_conventions_c.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/coding_conventions_c.md b/docs/coding_conventions_c.md index 08994bfbb..16e28b288 100644 --- a/docs/coding_conventions_c.md +++ b/docs/coding_conventions_c.md | |||
@@ -14,7 +14,7 @@ Most of our style is pretty easy to pick up on, but right now it's not entirely | |||
14 | * Think of them as a story describing the feature | 14 | * Think of them as a story describing the feature |
15 | * Use them liberally to explain why particular decisions were made. | 15 | * Use them liberally to explain why particular decisions were made. |
16 | * Do not write obvious comments | 16 | * Do not write obvious comments |
17 | * If you not sure if a comment is obvious, go ahead and include it. | 17 | * If you're not sure if a comment is obvious, go ahead and include it. |
18 | * In general we don't wrap lines, they can be as long as needed. If you do choose to wrap lines please do not wrap any wider than 76 columns. | 18 | * In general we don't wrap lines, they can be as long as needed. If you do choose to wrap lines please do not wrap any wider than 76 columns. |
19 | * We use `#pragma once` at the start of header files rather than old-style include guards (`#ifndef THIS_FILE_H`, `#define THIS_FILE_H`, ..., `#endif`) | 19 | * We use `#pragma once` at the start of header files rather than old-style include guards (`#ifndef THIS_FILE_H`, `#define THIS_FILE_H`, ..., `#endif`) |
20 | * We accept both forms of preprocessor if's: `#ifdef DEFINED` and `#if defined(DEFINED)` | 20 | * We accept both forms of preprocessor if's: `#ifdef DEFINED` and `#if defined(DEFINED)` |