aboutsummaryrefslogtreecommitdiff
path: root/vnc.c
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-18 01:44:38 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-18 01:44:38 +0000
commit9596ebb7012a19a45ca036a200acd617a93a321b (patch)
treedf011db5945e48dc0c86c04daf2c2072f43f2867 /vnc.c
parent4c1b1bfe30dab7bc08e3ff8f179f8e11be9d7f04 (diff)
Add statics and missing #includes for prototypes.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3683 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vnc.c')
-rw-r--r--vnc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/vnc.c b/vnc.c
index ec97ad9a07..fcce00eddc 100644
--- a/vnc.c
+++ b/vnc.c
@@ -812,9 +812,9 @@ static uint32_t read_u32(uint8_t *data, size_t offset)
}
#if CONFIG_VNC_TLS
-ssize_t vnc_tls_push(gnutls_transport_ptr_t transport,
- const void *data,
- size_t len) {
+static ssize_t vnc_tls_push(gnutls_transport_ptr_t transport,
+ const void *data,
+ size_t len) {
struct VncState *vs = (struct VncState *)transport;
int ret;
@@ -829,9 +829,9 @@ ssize_t vnc_tls_push(gnutls_transport_ptr_t transport,
}
-ssize_t vnc_tls_pull(gnutls_transport_ptr_t transport,
- void *data,
- size_t len) {
+static ssize_t vnc_tls_pull(gnutls_transport_ptr_t transport,
+ void *data,
+ size_t len) {
struct VncState *vs = (struct VncState *)transport;
int ret;