summaryrefslogtreecommitdiff
path: root/payloads/libpayload
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload')
-rw-r--r--payloads/libpayload/drivers/video/font.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/drivers/video/font.h b/payloads/libpayload/drivers/video/font.h
index 9ea328c78d..cfb679bbd0 100644
--- a/payloads/libpayload/drivers/video/font.h
+++ b/payloads/libpayload/drivers/video/font.h
@@ -36,7 +36,7 @@ extern int font_width;
extern int font_height;
extern int font_scale;
-inline int font_glyph_filled(unsigned int ch, int x, int y)
+static inline int font_glyph_filled(unsigned int ch, int x, int y)
{
unsigned char *glyph = font8x16 + ((ch & 0xFF) * FONT_HEIGHT);
return glyph[y/font_scale] & (1 << x/font_scale);