From 9d8e74c1bc09653b0a698e4d4c040ceeb52f46cc Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sun, 24 Nov 2019 19:43:35 +0100 Subject: [PATCH] module: Declare functions as foo(void) instead of just foo() --- src/module.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/module.c b/src/module.c index 5cb42b79..f32190af 100644 --- a/src/module.c +++ b/src/module.c @@ -91,7 +91,7 @@ static int module_topological_order(struct module *module, return 0; } -int iwd_modules_init() +int iwd_modules_init(void) { struct iwd_module_desc *desc; struct iwd_module_depends *dep; @@ -162,7 +162,7 @@ int iwd_modules_init() return 0; } -void iwd_modules_exit() +void iwd_modules_exit(void) { struct iwd_module_desc *desc; unsigned int i;