[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-trivial] [PATCH 2/5] ui/vnc : fix coding style
From: |
Chih-Min Chao |
Subject: |
[Qemu-trivial] [PATCH 2/5] ui/vnc : fix coding style |
Date: |
Thu, 9 Apr 2015 02:04:11 +0800 |
reported by checkpatch.pl
Signed-off-by: Chih-Min Chao <address@hidden>
---
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
- [Qemu-trivial] [PATCH 0/5] fix coding style and use of typedef type, Chih-Min Chao, 2015/04/08
- [Qemu-trivial] [PATCH 2/5] ui/vnc : fix coding style,
Chih-Min Chao <=
- [Qemu-trivial] [PATCH 3/5] ui/vnc : remove 'struct' of 'typedef struct', Chih-Min Chao, 2015/04/08
- [Qemu-trivial] [PATCH 5/5] hw/display : remove 'struct' from 'typedef QXL struct', Chih-Min Chao, 2015/04/08
- [Qemu-trivial] [PATCH 1/5] bitops : fix coding style, Chih-Min Chao, 2015/04/08
- [Qemu-trivial] [PATCH 4/5] ui/console : remove 'struct' from 'typedef struct' type, Chih-Min Chao, 2015/04/08
- Re: [Qemu-trivial] [PATCH 0/5] fix coding style and use of typedef type, Gerd Hoffmann, 2015/04/09
- Re: [Qemu-trivial] [PATCH 0/5] fix coding style and use of typedef type, Michael Tokarev, 2015/04/25