From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59560) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YfuKu-0001Us-R9 for qemu-devel@nongnu.org; Wed, 08 Apr 2015 14:04:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YfuKt-0001Ic-Ob for qemu-devel@nongnu.org; Wed, 08 Apr 2015 14:04:24 -0400 From: Chih-Min Chao Date: Thu, 9 Apr 2015 02:04:11 +0800 Message-Id: <1428516254-23054-3-git-send-email-cmchao@gmail.com> In-Reply-To: <1428516254-23054-1-git-send-email-cmchao@gmail.com> References: <1428516254-23054-1-git-send-email-cmchao@gmail.com> Subject: [Qemu-devel] [PATCH 2/5] ui/vnc : fix coding style List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, kraxel@redhat.com, Chih-Min Chao reported by checkpatch.pl Signed-off-by: Chih-Min Chao --- ui/vnc-auth-vencrypt.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ui/vnc-auth-vencrypt.c b/ui/vnc-auth-vencrypt.c index a420ccb..65f1afa 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"); -- 1.9.1