提交 5d05c708 编写于 作者: D Daniel J Blueman 提交者: Rusty Russell

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: NDaniel J Blueman <daniel.blueman@gmail.com>
Signed-off-by: NRusty Russell <rusty@rustcorp.com.au>
上级 c5be0b2e
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
新手
引导
客服 返回
顶部