summaryrefslogtreecommitdiffstats
path: root/x11vnc/8to24.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/8to24.c')
-rw-r--r--x11vnc/8to24.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/x11vnc/8to24.c b/x11vnc/8to24.c
index 88b923c..01d9316 100644
--- a/x11vnc/8to24.c
+++ b/x11vnc/8to24.c
@@ -12,6 +12,13 @@ void check_for_multivis(void);
void bpp8to24(int, int, int, int);
void mark_8bpp(int);
+#if SKIP_8TO24
+void check_for_multivis(void) {}
+void bpp8to24(int x, int y, int z, int t) {}
+void mark_8bpp(int x) {}
+#else
+/* lots... */
+
static void set_root_cmap(void);
static int check_pointer_in_depth24(void);
static void parse_cmap8to24(void);
@@ -1962,3 +1969,5 @@ if (db24 > 1) fprintf(stderr, "mark_8bpp: 0x%lx %d %d %d %d\n", windows_8bpp[i].
}
}
+#endif /* SKIP_8TO24 */
+