mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-02-11 04:28:09 -05:00
CONTRIBUTING: Explicitly allow mixed declarations & code
Let's see how it goes. Signed-off-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
parent
1078ee4993
commit
115b54fb97
1 changed files with 3 additions and 2 deletions
|
|
@ -139,8 +139,9 @@ try to follow the rules below.
|
|||
- no braces in an if-body with just one statement;
|
||||
- if one of the branches of an if-else condition has braces, then the
|
||||
other branch should also have braces;
|
||||
- there is always an empty line between variable declarations and the
|
||||
code;
|
||||
- there is always an empty line between initial variable declarations and
|
||||
the code;
|
||||
- variable declarations may be interspersed with code
|
||||
|
||||
```c
|
||||
static int
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue