mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-15 08:56:26 -05:00
cleanup: Use void for zero-parameter functions
Signed-off-by: Genki Sky <sky@genki.is>
This commit is contained in:
parent
41e53d1499
commit
d1cf9acbd5
7 changed files with 8 additions and 8 deletions
|
|
@ -96,7 +96,7 @@ not use GNU extensions.
|
|||
Brackets always go on the same line, including in functions.
|
||||
Always include brackets for if/while/for, even if it's a single statement.
|
||||
```c
|
||||
void function() {
|
||||
void function(void) {
|
||||
if (condition1) {
|
||||
do_thing1();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue