qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] qga: Add missing 'static' attribute


From: Stefan Weil
Subject: [Qemu-devel] [PATCH] qga: Add missing 'static' attribute
Date: Mon, 7 Jul 2014 21:07:29 +0200

This fixes a warning from the static code analysis (smatch).

Signed-off-by: Stefan Weil <address@hidden>
---
 qga/commands-posix.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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",
 };
-- 
1.7.10.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]