diff options
author | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2013-12-03 22:27:45 +0100 |
---|---|---|
committer | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2013-12-03 22:27:45 +0100 |
commit | f168c27313e4d7b0aabee037dc9c78a5799f0597 (patch) | |
tree | df9ad884b2fdf45f519d04075dc67c8b82bb2915 /CODING_STYLE | |
parent | sd-memfd: use assert_return (diff) | |
download | systemd-f168c27313e4d7b0aabee037dc9c78a5799f0597.tar.gz systemd-f168c27313e4d7b0aabee037dc9c78a5799f0597.tar.bz2 systemd-f168c27313e4d7b0aabee037dc9c78a5799f0597.zip |
trivial coding style clean ups
- Add space between if/for and the opening parentheses
- Place the opening brace on same line as the function (not for udev)
From the CODING_STYLE
Try to use this:
void foo() {
}
instead of this:
void foo()
{
}
Diffstat (limited to 'CODING_STYLE')
-rw-r--r-- | CODING_STYLE | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CODING_STYLE b/CODING_STYLE index 4b84479d2..c5f1e2e6c 100644 --- a/CODING_STYLE +++ b/CODING_STYLE @@ -2,7 +2,7 @@ - 8ch indent, no tabs - Variables and functions *must* be static, unless they have a - protoype, and are supposed to be exported. + prototype, and are supposed to be exported. - structs in MixedCase, variables + functions in lower_case |