mirror of https://gitee.com/openkylin/qemu.git
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>
This commit is contained in:
parent
bfaaad0281
commit
79f320246c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue