summaryrefslogtreecommitdiffstats
path: root/cursor.c
diff options
context:
space:
mode:
authordscho <dscho>2003-02-17 16:03:52 +0000
committerdscho <dscho>2003-02-17 16:03:52 +0000
commit8a5f8f25902812ef75105e3f6fac6f05d0235d9a (patch)
tree7003fb73fedbd065bcd524fe89f4f2198979b48b /cursor.c
parentca872f759a57722ee942d47b2d53f20ae3232cc4 (diff)
downloadlibtdevnc-8a5f8f25902812ef75105e3f6fac6f05d0235d9a.tar.gz
libtdevnc-8a5f8f25902812ef75105e3f6fac6f05d0235d9a.zip
export rfbReverseBytes; undefine VERSION, because it's too common
Diffstat (limited to 'cursor.c')
-rw-r--r--cursor.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/cursor.c b/cursor.c
index 032d2c4..786ee02 100644
--- a/cursor.c
+++ b/cursor.c
@@ -24,8 +24,6 @@
#include "rfb.h"
-static unsigned char rfbReverseByte[0x100];
-
/*
* Send cursor shape either in X-style format or in client pixel format.
*/
@@ -208,7 +206,7 @@ rfbSendCursorPos(rfbClientPtr cl)
}
/* conversion routine for predefined cursors in LSB order */
-static unsigned char rfbReverseByte[0x100] = {
+unsigned char rfbReverseByte[0x100] = {
/* copied from Xvnc/lib/font/util/utilbitmap.c */
0x00, 0x80, 0x40, 0xc0, 0x20, 0xa0, 0x60, 0xe0,
0x10, 0x90, 0x50, 0xd0, 0x30, 0xb0, 0x70, 0xf0,