qga: Add missing 'static' attribute
PATCH 1/1 qga: Add missing 'static' attribute
This fixes a warning from the static code analysis (smatch).
Signed-off-by Stefan Weil <[email protected]>
--- qga/commands-posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
qga/commands-posix.c +1 -1
@@ -643,7 +643,7 @@ typedef enum {FSFREEZE_HOOK_FREEZE , } FsfreezeHookArg; -const char *fsfreeze_hook_arg_string[] = { +static const char *fsfreeze_hook_arg_string[] = {"thaw" ,"freeze" , };
Signature · 1 line
1.7.10.4
Michael Tokarev
AppliedApplied to -trivial, thank you!
/mjt