summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2017-01-25 10:07:18 -0600
committerDenis Kenzior <denkenz@gmail.com>2017-01-25 10:07:18 -0600
commitf4518701e9a7749749e92a5019cde95d37e91b65 (patch)
treeb15b89cf6fae35450b148f4b94479ff31fca317d /doc
parent9148525c211415c9b4405aaecfd16073852db669 (diff)
downloadofono-f4518701e9a7749749e92a5019cde95d37e91b65.tar.gz
doc: Add 'switch' to item M1
Diffstat (limited to 'doc')
-rw-r--r--doc/coding-style.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/coding-style.txt b/doc/coding-style.txt
index ca70aaee..c27a2f27 100644
--- a/doc/coding-style.txt
+++ b/doc/coding-style.txt
@@ -19,7 +19,7 @@ Besides the kernel coding style above, oFono has special flavors for its own.
Some of them are mandatory (marked as 'M'), while some others are optional
(marked as 'O'), but generally preferred.
-M1: Blank line before and after an if/while/do/for statement
+M1: Blank line before and after an if/while/do/for/switch statement
============================================================
There should be a blank line before if statement unless the if is nested and
not preceded by an expression or variable declaration.