projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9b45b4
)
qga: Add missing 'static' attribute
author
Stefan Weil
<sw@weilnetz.de>
Mon, 7 Jul 2014 19:07:29 +0000
(21:07 +0200)
committer
Michael Tokarev
<mjt@tls.msk.ru>
Fri, 18 Jul 2014 13:45:37 +0000
(17:45 +0400)
This fixes a warning from the static code analysis (smatch).
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
qga/commands-posix.c
patch
|
blob
|
history
diff --git
a/qga/commands-posix.c
b/qga/commands-posix.c
index 34ddba053144231dd0543f47a94090a8087d7da6..8e6272c5a2d8a813b3a1c0f58d10091185eba120 100644
(file)
--- a/
qga/commands-posix.c
+++ b/
qga/commands-posix.c
@@
-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",
};