aboutsummaryrefslogtreecommitdiff
path: root/include/graphics
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-01-20 23:22:42 -0700
committerChristian Cunningham <cc@localhost>2022-01-20 23:22:42 -0700
commit73a80de4228a498b483c8e10ab317920d978d507 (patch)
treeeea73a138a509d7758ef477d4997cf7147233604 /include/graphics
parentc2e52566ed53b53227a6fe577a05170766a1ae4c (diff)
Moved globals to file
Diffstat (limited to 'include/graphics')
-rw-r--r--include/graphics/drawer.h4
-rw-r--r--include/graphics/lfb.h4
2 files changed, 0 insertions, 8 deletions
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);