summaryrefslogtreecommitdiffstats
path: root/qga
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2014-07-07 21:07:29 +0200
committerMichael Tokarev <mjt@tls.msk.ru>2014-07-18 17:45:37 +0400
commit13a439ec4027a442a69a46d8d5305689460c2af2 (patch)
treea0321f570dee49ac74dc12e8b97cc789e9220a42 /qga
parentb9b45b4a88df949ab3780ecf7abca55e66ae05d1 (diff)
downloadhqemu-13a439ec4027a442a69a46d8d5305689460c2af2.zip
hqemu-13a439ec4027a442a69a46d8d5305689460c2af2.tar.gz
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 34ddba0..8e6272c 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",
};
OpenPOWER on IntegriCloud