aboutsummaryrefslogtreecommitdiff
path: root/host/matelight/font.h
diff options
context:
space:
mode:
Diffstat (limited to 'host/matelight/font.h')
-rw-r--r--host/matelight/font.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/host/matelight/font.h b/host/matelight/font.h
index 658609a..e3e2e60 100644
--- a/host/matelight/font.h
+++ b/host/matelight/font.h
@@ -1,4 +1,7 @@
+#ifndef __FONT_H__
+#define __FONT_H__
+
#include <stdint.h>
#include <stdio.h>
@@ -19,3 +22,4 @@ int read_bdf(FILE *f, glyph_t **glyph_table, unsigned int glyph_table_size);
// Requires buf to point to a buffer at least of size glyph->width*glyph->height.
void render_glyph(glyph_t *glyph, uint8_t *buf, unsigned int bufwidth, unsigned int offx, unsigned int offy);
+#endif//__FONT_H__