From 73a80de4228a498b483c8e10ab317920d978d507 Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Thu, 20 Jan 2022 23:22:42 -0700 Subject: Moved globals to file --- include/graphics/drawer.h | 4 ---- include/graphics/lfb.h | 4 ---- 2 files changed, 8 deletions(-) (limited to 'include/graphics') diff --git a/include/graphics/drawer.h b/include/graphics/drawer.h index 6d97163..67abca0 100644 --- a/include/graphics/drawer.h +++ b/include/graphics/drawer.h @@ -6,10 +6,6 @@ struct Drawer { unsigned int y; }; -#ifndef GRAPHICS_DRAWER_C -extern struct Drawer g_Drawer; -#endif - void write_cchar(struct Drawer* d, char s, unsigned int c); void write_char(struct Drawer* d, char s); diff --git a/include/graphics/lfb.h b/include/graphics/lfb.h index a4eef2e..a151a5f 100644 --- a/include/graphics/lfb.h +++ b/include/graphics/lfb.h @@ -4,10 +4,6 @@ #define GG_MAX_X 128 #define GG_MAX_Y 46 -#ifndef GRAPHICS_LFB_C -extern unsigned int width, height, pitch, isrgb; /* dimensions and channel order */ -#endif - void lfb_init(void); void lfb_showpicture(void); -- cgit v1.2.1