From e5a3c26c1d93dbac400e623be678dd10b31d7882 Mon Sep 17 00:00:00 2001 From: Frank Gevaerts Date: Sun, 27 Nov 2011 15:24:53 +0000 Subject: [PATCH] glyph_cache_save should be static git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31073 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/font.h | 1 - firmware/font.c | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/firmware/export/font.h b/firmware/export/font.h index faa10391f8..1e50faa6cf 100644 --- a/firmware/export/font.h +++ b/firmware/export/font.h @@ -130,7 +130,6 @@ struct font* font_get(int font); int font_getstringsize(const unsigned char *str, int *w, int *h, int fontnumber); int font_get_width(struct font* ft, unsigned short ch); const unsigned char * font_get_bits(struct font* ft, unsigned short ch); -void glyph_cache_save(int font_id); #else /* HAVE_LCD_BITMAP */ diff --git a/firmware/font.c b/firmware/font.c index 8b63b80f45..b2ba3baa30 100644 --- a/firmware/font.c +++ b/firmware/font.c @@ -96,6 +96,8 @@ static int buflib_allocations[MAXFONTS]; static int cache_fd; static struct font* cache_pf; +static void glyph_cache_save(int font_id); + static int buflibmove_callback(int handle, void* current, void* new) { (void)handle;