Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5d05c708 authored by Daniel J Blueman's avatar Daniel J Blueman Committed by Rusty Russell
Browse files

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: default avatarDaniel J Blueman <daniel.blueman@gmail.com>
Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent c5be0b2e
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -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 */
/* 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;
	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 */
/* 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;
	struct module *mod;