From 76de8f3015b12b27a6752db2754578dc12c5a188 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Fri, 9 Feb 2018 15:41:50 -0500 Subject: Move gfx interface to header file .o files should technically depend on this, but I don't think it will matter much. --- bin/gfx/x11.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'bin/gfx/x11.c') 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 #include -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; -- cgit 1.4.1