summaryrefslogtreecommitdiffstats
path: root/vncauth.c
diff options
context:
space:
mode:
authordscho <dscho>2003-07-30 09:42:36 +0000
committerdscho <dscho>2003-07-30 09:42:36 +0000
commiteeb2061dfb03ea11ba028b33037fa0805d22e6a4 (patch)
treedce009b7b0b68b8660aa01ae543883a0e36bf287 /vncauth.c
parent964aa1628f2cc4fac17c22dc89fc2439bd87b00e (diff)
downloadlibtdevnc-eeb2061dfb03ea11ba028b33037fa0805d22e6a4.tar.gz
libtdevnc-eeb2061dfb03ea11ba028b33037fa0805d22e6a4.zip
API change: Bool, KeySym, Pixel get prefix "rfb"; constants in rfbconfig.h get prefix "LIBVNCSERVER_"
Diffstat (limited to 'vncauth.c')
-rw-r--r--vncauth.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/vncauth.c b/vncauth.c
index 39ba856..1843434 100644
--- a/vncauth.c
+++ b/vncauth.c
@@ -28,10 +28,10 @@
#include <string.h>
#include <math.h>
-#ifdef HAVE_SYS_TYPES_H
+#ifdef LIBVNCSERVER_HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
-#ifdef HAVE_SYS_STAT_H
+#ifdef LIBVNCSERVER_HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif
@@ -142,7 +142,7 @@ void
vncRandomBytes(unsigned char *bytes)
{
int i;
- static Bool s_srandom_called = FALSE;
+ static rfbBool s_srandom_called = FALSE;
if (!s_srandom_called) {
srandom((unsigned int)time(0) ^ (unsigned int)getpid());