aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2020-04-09 17:38:30 -0700
committerDenis Kenzior <denkenz@gmail.com>2020-04-08 21:03:13 -0500
commit1dfc28d21ad8f027158b894792a8d6d9646334f6 (patch)
tree3ec91f1cfcb27451ea64259a5eca5f668bffbe04
parenta47609acbe3b8651697da544070647c9aa8d0b39 (diff)
downloadiwd-1dfc28d21ad8f027158b894792a8d6d9646334f6.tar.gz
module: add void to empty argument functions
Found with clang's -Wstrict-prototypes
-rw-r--r--src/module.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/module.h b/src/module.h
index c0f1c6c11..8e1a99043 100644
--- a/src/module.h
+++ b/src/module.h
@@ -47,5 +47,5 @@ struct iwd_module_depends {
.target = #dep, \
};
-int iwd_modules_init();
-void iwd_modules_exit();
+int iwd_modules_init(void);
+void iwd_modules_exit(void);