From: Stefan Weil Date: Mon, 7 Jul 2014 19:07:29 +0000 (+0200) Subject: qga: Add missing 'static' attribute X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=13a439ec4027a442a69a46d8d5305689460c2af2;p=people%2Fliuw%2Flibxenctrl-split%2Fqemu-xen.git qga: Add missing 'static' attribute This fixes a warning from the static code analysis (smatch). Signed-off-by: Stefan Weil Signed-off-by: Michael Tokarev --- diff --git a/qga/commands-posix.c b/qga/commands-posix.c index 34ddba053..8e6272c5a 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", };