summaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorMarkus Armbruster2015-03-13 13:35:14 +0100
committerMarkus Armbruster2015-06-09 07:37:37 +0200
commit28d0de7a4fb721b06de72970bd163f5183c2188b (patch)
tree3ce566258a1d828e7b84eed69e8b24f5f1b07d3f /ui
parentQemuOpts: Drop qemu_opts_foreach() parameter abort_on_failure (diff)
downloadqemu-28d0de7a4fb721b06de72970bd163f5183c2188b.tar.gz
qemu-28d0de7a4fb721b06de72970bd163f5183c2188b.tar.xz
qemu-28d0de7a4fb721b06de72970bd163f5183c2188b.zip
QemuOpts: Convert qemu_opts_foreach() to Error
Retain the function value for now, to permit selective conversion of its callers. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Acked-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'ui')
-rw-r--r--ui/vnc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/vnc.c b/ui/vnc.c
index 1013ea5c45..0c6b5e3553 100644
--- a/ui/vnc.c
+++ b/ui/vnc.c
@@ -3770,7 +3770,7 @@ QemuOpts *vnc_parse_func(const char *str)
return opts;
}
-int vnc_init_func(QemuOpts *opts, void *opaque)
+int vnc_init_func(void *opaque, QemuOpts *opts, Error **errp)
{
Error *local_err = NULL;
char *id = (char *)qemu_opts_id(opts);