From 55f078f4b5d5636b6f0041718f4d5b0fb91b8f33 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Mon, 17 Oct 2011 17:49:20 +0000 Subject: Fix checkwps reds and non-touchscreen warnings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30774 a1c6a512-1295-4272-9138-f99709370657 --- tools/checkwps/checkwps.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tools') diff --git a/tools/checkwps/checkwps.c b/tools/checkwps/checkwps.c index e104928..7d63cb6 100644 --- a/tools/checkwps/checkwps.c +++ b/tools/checkwps/checkwps.c @@ -220,6 +220,7 @@ bool radio_hardware_present(void) #ifdef HAVE_LCD_BITMAP static int loaded_fonts = 0; +static struct font _font; int font_load(const char *path) { int id = 2 + loaded_fonts; @@ -231,6 +232,11 @@ void font_unload(int font_id) { (void)font_id; } + +struct font* font_get(int font) +{ + return &_font; +} #endif int main(int argc, char **argv) -- cgit v1.1