Browse Source

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>
pull/10/merge
Stefan Weil 12 years ago
committed by Michael Tokarev
parent
commit
79f320246c
  1. 2
      monitor.c

2
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

Loading…
Cancel
Save