diff options
author | Stefan Weil <sw@weilnetz.de> | 2014-05-02 22:43:57 +0200 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2014-05-07 21:00:43 +0400 |
commit | 79f320246c8ee972e4b3469027492533fca178d8 (patch) | |
tree | 055456cef62ff8fcc8bc884ff0485206a318c842 | |
parent | bfaaad02814b1f4e86eb4ba1978a93a6dccd1e7d (diff) |
monitor: Add missing 'static' attribute
This fixes a warning from the static code analysis (smatch).
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
-rw-r--r-- | monitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |