aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2015-02-17 09:28:17 +0100
committerGerd Hoffmann <kraxel@redhat.com>2015-03-10 11:33:35 +0100
commit9634f4e3b721f75f9ba4c87fe1499d5e95fc63ca (patch)
tree85430e075d3a653ddd9812e9aca66cb3755ce70e /include
parent277263e1b320d759a760ba6c5ea75ec268f929e5 (diff)
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 <armbru@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/ui/console.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/ui/console.h b/include/ui/console.h
index 0f97d86728..de88bba478 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);