summaryrefslogtreecommitdiffstats
path: root/kernel/module.c
diff options
context:
space:
mode:
authorDaniel J Blueman <daniel.blueman@gmail.com>2011-03-08 22:01:47 +0800
committerRusty Russell <rusty@rustcorp.com.au>2011-05-19 16:55:25 +0930
commit5d05c70849f760ac8f4ed3ebfeefb92689858834 (patch)
tree631fb578b5a07cee38865f3866a57d8430ddc2ea /kernel/module.c
parentc5be0b2eb1ca05e0cd747f9c0ba552c6ee8827a0 (diff)
minor ANSI prototype sparse fix
Fix function prototype to be ANSI-C compliant, consistent with other function prototypes, addressing a sparse warning. Signed-off-by: Daniel J Blueman <daniel.blueman@gmail.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'kernel/module.c')
-rw-r--r--kernel/module.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/module.c b/kernel/module.c
index d5938a5c19c..523c40b7177 100644
--- a/kernel/module.c
+++ b/kernel/module.c
@@ -1627,7 +1627,7 @@ void unset_section_ro_nx(struct module *mod, void *module_region)
}
/* Iterate through all modules and set each module's text as RW */
-void set_all_modules_text_rw()
+void set_all_modules_text_rw(void)
{
struct module *mod;
@@ -1648,7 +1648,7 @@ void set_all_modules_text_rw()
}
/* Iterate through all modules and set each module's text as RO */
-void set_all_modules_text_ro()
+void set_all_modules_text_ro(void)
{
struct module *mod;