summary refs log tree commit diff
path: root/bin/gfx/x11.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-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 b1b8caca..9f976d12 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;