projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfa2584
)
ui/spice: Give hmp_info_spice()'s channel_names[] static linkage
author
Markus Armbruster
<armbru@redhat.com>
Mon, 9 Jan 2023 19:03:11 +0000
(20:03 +0100)
committer
Markus Armbruster
<armbru@redhat.com>
Thu, 19 Jan 2023 12:30:01 +0000
(13:30 +0100)
Suggested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <
20230109190321
.
1056914
-8-armbru@redhat.com>
monitor/hmp-cmds.c
patch
|
blob
|
history
diff --git
a/monitor/hmp-cmds.c
b/monitor/hmp-cmds.c
index 67e39f408ec6c6c6a9c142a4798023733dfa61cc..f4d0d031dfbc3f24c65030f74076b687bd724b2b 100644
(file)
--- a/
monitor/hmp-cmds.c
+++ b/
monitor/hmp-cmds.c
@@
-611,7
+611,7
@@
void hmp_info_spice(Monitor *mon, const QDict *qdict)
SpiceChannelList *chan;
SpiceInfo *info;
const char *channel_name;
-
const char *
const channel_names[] = {
+
static const char *
const channel_names[] = {
[SPICE_CHANNEL_MAIN] = "main",
[SPICE_CHANNEL_DISPLAY] = "display",
[SPICE_CHANNEL_INPUTS] = "inputs",