From: Chih-Min Chao Date: Wed, 8 Apr 2015 18:04:11 +0000 (+0800) Subject: ui/vnc : fix coding style X-Git-Tag: v2.7.1~1155^2~38 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=494cb81741f867319f11ecfa0949168baf9f01d7;p=mirror_qemu.git ui/vnc : fix coding style reported by checkpatch.pl Signed-off-by: Chih-Min Chao Reviewed-by: Gerd Hoffmann Signed-off-by: Michael Tokarev --- diff --git a/ui/vnc-auth-vencrypt.c b/ui/vnc-auth-vencrypt.c index a420ccbd1d..65f1afae46 100644 --- a/ui/vnc-auth-vencrypt.c +++ b/ui/vnc-auth-vencrypt.c @@ -65,7 +65,8 @@ static void start_auth_vencrypt_subauth(VncState *vs) static void vnc_tls_handshake_io(void *opaque); -static int vnc_start_vencrypt_handshake(struct VncState *vs) { +static int vnc_start_vencrypt_handshake(struct VncState *vs) +{ int ret; if ((ret = gnutls_handshake(vs->tls.session)) < 0) { @@ -100,7 +101,8 @@ static int vnc_start_vencrypt_handshake(struct VncState *vs) { return 0; } -static void vnc_tls_handshake_io(void *opaque) { +static void vnc_tls_handshake_io(void *opaque) +{ struct VncState *vs = (struct VncState *)opaque; VNC_DEBUG("Handshake IO continue\n");