summaryrefslogtreecommitdiffstats
path: root/src/font.h
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-07-18 14:07:58 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-07-18 14:07:58 (EDT)
commit557ff9418ff811829c5f7f410c56cd552b605d10 (patch)
tree47cdcdde2cfdef00d9fdb7107685b32ce97352d0 /src/font.h
parentc5da456687d8b51d8d2360cabc1966387ebc72b9 (diff)
font_default(): New function
And make font_find() return NULL if a font can't be found.
Diffstat (limited to 'src/font.h')
-rw-r--r--src/font.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/font.h b/src/font.h
index 27cc08e..c1abe26 100644
--- a/src/font.h
+++ b/src/font.h
@@ -27,6 +27,9 @@
#include <linux/font.h>
struct font *
+font_default(void) __attribute__((pure));
+
+struct font *
font_find(const char *name) __attribute__((pure));
int