qemu-trivial
[Top][All Lists]
Advanced

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

[Qemu-trivial] [PULL 09/22] monitor: Add missing 'static' attribute


From: Michael Tokarev
Subject: [Qemu-trivial] [PULL 09/22] monitor: Add missing 'static' attribute
Date: Mon, 5 May 2014 22:01:50 +0400

From: Stefan Weil <address@hidden>

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

Signed-off-by: Stefan Weil <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
---
 monitor.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/monitor.c b/monitor.c
index 1266ba0..2d3fb3f 100644
--- a/monitor.c
+++ b/monitor.c
@@ -488,7 +488,7 @@ static const char *monitor_event_names[] = {
 };
 QEMU_BUILD_BUG_ON(ARRAY_SIZE(monitor_event_names) != QEVENT_MAX)
 
-MonitorEventState monitor_event_state[QEVENT_MAX];
+static MonitorEventState monitor_event_state[QEVENT_MAX];
 
 /*
  * Emits the event to every monitor instance
-- 
1.7.10.4




reply via email to

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