From: Daniel J Blueman Date: Tue, 8 Mar 2011 14:01:47 +0000 (+0800) Subject: minor ANSI prototype sparse fix X-Git-Tag: accepted/tizen/common/20141203.182822~7575^2~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5d05c70849f760ac8f4ed3ebfeefb92689858834;p=platform%2Fkernel%2Flinux-arm64.git 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 Signed-off-by: Rusty Russell --- diff --git a/kernel/module.c b/kernel/module.c index d5938a5..523c40b71 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;