projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfaaad0
)
monitor: Add missing 'static' attribute
author
Stefan Weil
<sw@weilnetz.de>
Fri, 2 May 2014 20:43:57 +0000
(22:43 +0200)
committer
Michael Tokarev
<mjt@tls.msk.ru>
Wed, 7 May 2014 17:00:43 +0000
(21:00 +0400)
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>
monitor.c
patch
|
blob
|
history
diff --git
a/monitor.c
b/monitor.c
index 1266ba06fb032cb0e7c9dbaa1b6d22cd9047c6b4..2d3fb3f0efed35887997f3f4b1adc880c14a8ad6 100644
(file)
--- 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