summaryrefslogtreecommitdiffstats
path: root/rfb
diff options
context:
space:
mode:
Diffstat (limited to 'rfb')
-rw-r--r--rfb/rfb.h3
-rw-r--r--rfb/rfbclient.h2
2 files changed, 1 insertions, 4 deletions
diff --git a/rfb/rfb.h b/rfb/rfb.h
index 0d3944e..171b076 100644
--- a/rfb/rfb.h
+++ b/rfb/rfb.h
@@ -424,7 +424,6 @@ typedef struct _rfbClientRec {
#ifdef LIBVNCSERVER_HAVE_LIBJPEG
/* tight encoding -- preserve zlib streams' state for each client */
- //#ifdef LIBVNCSERVER_HAVE_LIBJPEG
z_stream zsStruct[4];
rfbBool zsActive[4];
int zsLevel[4];
@@ -713,7 +712,7 @@ void rfbDrawLine(rfbScreenInfoPtr s,int x1,int y1,int x2,int y2,rfbPixel col);
with a NULL.
It returns the index in the list or -1 if cancelled or something else
wasn't kosher. */
-typedef void (*SelectionChangedHookPtr)(int index);
+typedef void (*SelectionChangedHookPtr)(int _index);
extern int rfbSelectBox(rfbScreenInfoPtr rfbScreen,
rfbFontDataPtr font, char** list,
int x1, int y1, int x2, int y2,
diff --git a/rfb/rfbclient.h b/rfb/rfbclient.h
index b53d36e..c738409 100644
--- a/rfb/rfbclient.h
+++ b/rfb/rfbclient.h
@@ -145,8 +145,6 @@ typedef struct _rfbClient {
/* cursor.c */
-// TODO: make callback
-
extern rfbBool HandleCursorShape(rfbClient* client,int xhot, int yhot, int width, int height, uint32_t enc);
/* listen.c */