]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
minor ANSI prototype sparse fix
authorDaniel J Blueman <daniel.blueman@gmail.com>
Tue, 8 Mar 2011 14:01:47 +0000 (22:01 +0800)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 19 May 2011 07:25:25 +0000 (16:55 +0930)
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>
kernel/module.c

index d5938a5c19c47516499ef289b2087620783e23df..523c40b717778ed2087f7e979db41c25bc7b767d 100644 (file)
@@ -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;