From 79f320246c8ee972e4b3469027492533fca178d8 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Fri, 2 May 2014 22:43:57 +0200 Subject: monitor: Add missing 'static' attribute This fixes a warning from the static code analysis (smatch). Signed-off-by: Stefan Weil Signed-off-by: Michael Tokarev --- monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monitor.c b/monitor.c index 1266ba06fb..2d3fb3f0ef 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 -- cgit v1.2.1