summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/coding_conventions_c.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/coding_conventions_c.md b/docs/coding_conventions_c.md
index cbddedf8b0..08994bfbb7 100644
--- a/docs/coding_conventions_c.md
+++ b/docs/coding_conventions_c.md
@@ -31,17 +31,17 @@ Here is an example for easy reference:
```c
/* Enums for foo */
enum foo_state {
- FOO_BAR,
- FOO_BAZ,
+ FOO_BAR,
+ FOO_BAZ,
};
/* Returns a value */
int foo(void) {
- if (some_condition) {
- return FOO_BAR;
- } else {
- return -1;
- }
+ if (some_condition) {
+ return FOO_BAR;
+ } else {
+ return -1;
+ }
}
```