summaryrefslogtreecommitdiffstats
path: root/qga
diff options
context:
space:
mode:
authorStefan Weil2014-07-07 21:07:29 +0200
committerMichael Tokarev2014-07-18 15:45:37 +0200
commit13a439ec4027a442a69a46d8d5305689460c2af2 (patch)
treea0321f570dee49ac74dc12e8b97cc789e9220a42 /qga
parenthw/usb: Add missing 'static' attribute (diff)
downloadqemu-13a439ec4027a442a69a46d8d5305689460c2af2.tar.gz
qemu-13a439ec4027a442a69a46d8d5305689460c2af2.tar.xz
qemu-13a439ec4027a442a69a46d8d5305689460c2af2.zip
qga: Add missing 'static' attribute
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>
Diffstat (limited to 'qga')
-rw-r--r--qga/commands-posix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qga/commands-posix.c b/qga/commands-posix.c
index 34ddba0531..8e6272c5a2 100644
--- 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",
};