diff options
| author | Stefan Weil | 2014-03-16 19:02:52 +0100 |
|---|---|---|
| committer | Michael Tokarev | 2014-03-27 16:22:48 +0100 |
| commit | 08cf99629d5de859aad0d54bafb2f18803a86dfe (patch) | |
| tree | ac8b0e450938fafa4c680e94dbf7e71bb6aa4f53 /util | |
| parent | hw/ide: Add missing 'static' attributes (diff) | |
| download | qemu-08cf99629d5de859aad0d54bafb2f18803a86dfe.tar.gz qemu-08cf99629d5de859aad0d54bafb2f18803a86dfe.tar.xz qemu-08cf99629d5de859aad0d54bafb2f18803a86dfe.zip | |
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>
Diffstat (limited to 'util')
| -rw-r--r-- | util/module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/module.c b/util/module.c index 863a8a32a3..214effb39f 100644 --- a/util/module.c +++ b/util/module.c @@ -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; |
