summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Wu <lekensteyn@gmail.com>2012-09-30 12:02:35 +0200
committerPeter Wu <lekensteyn@gmail.com>2012-09-30 12:02:35 +0200
commit6471c48ac37c53d99e50a966064f889af8aaaf6f (patch)
treef6f5e155fe8d44162feb6c68d52b17c380727560
parent01993102e9121faf14ff518b72e72fcc276ddf91 (diff)
downloadc-files-6471c48ac37c53d99e50a966064f889af8aaaf6f.tar.gz
xcbviewfs: remove unused code
-rw-r--r--xcbviewfs.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/xcbviewfs.c b/xcbviewfs.c
index cb8f548..580b83a 100644
--- a/xcbviewfs.c
+++ b/xcbviewfs.c
@@ -8,7 +8,6 @@
#include <xcb/xcb.h>
#include <xcb/xcb_image.h>
-//#include <X11/Xlib.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
@@ -19,11 +18,6 @@
/* defined in colorlookup.c which is generated by colorlookupgen.c */
extern int color_lookup(char *name, uint8_t color[3]);
-#define die(msg) do { \
- fprintf(stderr, msg); \
- exit(EXIT_FAILURE); \
-} while (0)
-
#define bail(lbl, msg) do { \
fprintf(stderr, msg); \
goto lbl; \