mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
util: Add 'static' attribute to function implementation
The static code analyzer smatch complains because of a missing 'static' attribute: util/module.c:166:6: warning: symbol 'module_load' was not declared. Should it be static? 'static' is used in the forward declaration, but not in the implementation. Add it there, too. Signed-off-by: Stefan Weil <sw@weilnetz.de> Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
committed by
Michael Tokarev
parent
06ab66cfab
commit
08cf99629d
+1
-1
@@ -163,7 +163,7 @@ out:
|
||||
}
|
||||
#endif
|
||||
|
||||
void module_load(module_init_type type)
|
||||
static void module_load(module_init_type type)
|
||||
{
|
||||
#ifdef CONFIG_MODULES
|
||||
char *fname = NULL;
|
||||
|
||||
Reference in New Issue
Block a user