From: Chih-Min Chao Date: Wed, 8 Apr 2015 18:04:11 +0000 (+0800) Subject: ui/vnc : fix coding style X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=494cb81741f867319f11ecfa0949168baf9f01d7;p=osstest%2Fqemu.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 a420ccbd1..65f1afae4 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");