summaryrefslogtreecommitdiffstats
path: root/rfb/rfbproto.h
diff options
context:
space:
mode:
authordscho <dscho>2005-05-15 13:57:51 +0000
committerdscho <dscho>2005-05-15 13:57:51 +0000
commit8bee4eb990273c3654431467ba6618eb916f030a (patch)
treef3077e1cb12a4cb778047814583fc0b2f26bb7b2 /rfb/rfbproto.h
parentbe5b1296e4aa4d8a51cd709853408ec0cd7b768b (diff)
downloadlibvncserver-8bee4eb990273c3654431467ba6618eb916f030a.zip
libvncserver-8bee4eb990273c3654431467ba6618eb916f030a.tar.gz
ANSIfy, fix some warnings from Linus' sparse
Diffstat (limited to 'rfb/rfbproto.h')
-rw-r--r--rfb/rfbproto.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/rfb/rfbproto.h b/rfb/rfbproto.h
index 29b4b08..4c85911 100644
--- a/rfb/rfbproto.h
+++ b/rfb/rfbproto.h
@@ -62,6 +62,10 @@
#ifdef LIBVNCSERVER_HAVE_LIBZ
#include <zlib.h>
+#ifdef __CHECKER__
+#undef Z_NULL
+#define Z_NULL NULL
+#endif
#endif
OpenPOWER on IntegriCloud