From 9634f4e3b721f75f9ba4c87fe1499d5e95fc63ca Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Tue, 17 Feb 2015 09:28:17 +0100 Subject: vnc: set id at parse time not init time This way the generated id will be stored in -writeconfig cfg files. Also we can make vnc_auto_assign_id() local to vnc.c. Tested-by: Markus Armbruster Signed-off-by: Gerd Hoffmann --- include/ui/console.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include/ui') diff --git a/include/ui/console.h b/include/ui/console.h index 0f97d86..de88bba 100644 --- a/include/ui/console.h +++ b/include/ui/console.h @@ -335,7 +335,6 @@ void vnc_display_init(const char *id); void vnc_display_open(const char *id, Error **errp); void vnc_display_add_client(const char *id, int csock, bool skipauth); char *vnc_display_local_addr(const char *id); -void vnc_auto_assign_id(QemuOptsList *olist, QemuOpts *opts); #ifdef CONFIG_VNC int vnc_display_password(const char *id, const char *password); int vnc_display_pw_expire(const char *id, time_t expires); -- cgit v1.1