summaryrefslogtreecommitdiffstats
path: root/x11vnc/cleanup.c
diff options
context:
space:
mode:
authorrunge <runge>2009-01-04 04:56:53 +0000
committerrunge <runge>2009-01-04 04:56:53 +0000
commit91174efbb8e2fb09520477af6593f99b865777b0 (patch)
tree796e0213305556909052c8ea203c048eab732353 /x11vnc/cleanup.c
parent4fdb4cc67f1563156593e5b3deca80acf35f39ed (diff)
downloadlibvncserver-91174efbb8e2fb09520477af6593f99b865777b0.zip
libvncserver-91174efbb8e2fb09520477af6593f99b865777b0.tar.gz
x11vnc: fix compiler warnings.
Diffstat (limited to 'x11vnc/cleanup.c')
-rw-r--r--x11vnc/cleanup.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/x11vnc/cleanup.c b/x11vnc/cleanup.c
index 08a4e1f..0a3b9af 100644
--- a/x11vnc/cleanup.c
+++ b/x11vnc/cleanup.c
@@ -15,6 +15,9 @@
#include "macosx.h"
#include "macosxCG.h"
#include "avahi.h"
+#include "screen.h"
+#include "xrecord.h"
+#include "xevents.h"
/*
* Exiting and error handling routines
@@ -270,6 +273,8 @@ static int Xerror(Display *d, XErrorEvent *error) {
return (*Xerror_def)(d, error);
}
+void watch_loop(void);
+
static int XIOerr(Display *d) {
static int reopen = 0, rmax = 1;
X_UNLOCK;
OpenPOWER on IntegriCloud