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(-) (limited to 'monitor.c') 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 -- cgit v1.1