aboutsummaryrefslogtreecommitdiff
path: root/src/graphics/drawer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphics/drawer.h')
-rw-r--r--src/graphics/drawer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/graphics/drawer.h b/src/graphics/drawer.h
index 04f8f23..1ad89c5 100644
--- a/src/graphics/drawer.h
+++ b/src/graphics/drawer.h
@@ -6,7 +6,9 @@ struct Drawer {
unsigned int y;
};
-static struct Drawer g_Drawer;
+#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);