aboutsummaryrefslogtreecommitdiff
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorGenki Sky <sky@genki.is>2018-05-30 20:11:57 -0400
committerDrew DeVault <sir@cmpwn.com>2018-05-30 20:19:16 -0400
commitd1cf9acbd5ab6735952d013e5eb685e7139094a7 (patch)
treea06303f0bd9ac9c1f1b18ac204c9239ac499e9ec /CONTRIBUTING.md
parent41e53d14997de21fbad80d420acb358bec4341e8 (diff)
cleanup: Use void for zero-parameter functions
Signed-off-by: Genki Sky <sky@genki.is>
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r--CONTRIBUTING.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 41f504bc..aca308b3 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -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();
}