summary refs log tree commit diff
path: root/bin/gfx/x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/gfx/x11.c')
-rw-r--r--bin/gfx/x11.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/bin/gfx/x11.c b/bin/gfx/x11.c
index 53d84895..d3b5f5ba 100644
--- a/bin/gfx/x11.c
+++ b/bin/gfx/x11.c
@@ -21,10 +21,7 @@
 #include <stdlib.h>
 #include <stdbool.h>
 
-extern int init(int argc, char *argv[]);
-extern const char *status(void);
-extern void draw(uint32_t *buf, size_t width, size_t height);
-extern bool input(char in);
+#include "gfx.h"
 
 static size_t width;
 static size_t height;