@samitouri / QOSamiQemu / commits / 812ec936cd

ui/vnc: make vnc_disconnect_finish() private

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>

Marc-André Lureau committed Apr 7, 2026 at 15:23 UTC 812ec936cdaf5e0df68ede8fb0b295a75bb249e4
2 files changed +2 -2
ui/vnc.c
+2 -1
@@ -70,6 +70,7 @@ static QTAILQ_HEAD(, VncDisplay) vnc_displays =
70
71 static int vnc_cursor_define(VncState *vs);
72 static void vnc_update_throttle_offset(VncState *vs);
73 +static void vnc_disconnect_finish(VncState *vs);
74
75 static void vnc_set_share_mode(VncState *vs, VncShareMode mode)
76 {
@@ -1306,7 +1307,7 @@ static void vnc_disconnect_start(VncState *vs)
1307 vs->disconnecting = TRUE;
1308 }
1309
1309 -void vnc_disconnect_finish(VncState *vs)
1310 +static void vnc_disconnect_finish(VncState *vs)
1311 {
1312 VncConnection *vc = container_of(vs, VncConnection, vs);
1313
ui/vnc.h
-1
@@ -570,7 +570,6 @@ void vnc_write_u16(VncState *vs, uint16_t value);
570 void vnc_write_u8(VncState *vs, uint8_t value);
571 void vnc_flush(VncState *vs);
572 void vnc_read_when(VncState *vs, VncReadEvent *func, size_t expecting);
573 -void vnc_disconnect_finish(VncState *vs);
573 void vnc_start_protocol(VncState *vs);
574
575