From 660dbac5c92df2ee12ef20d8aba3686b037fbfb3 Mon Sep 17 00:00:00 2001 From: Nils Wallménius Date: Sat, 12 Apr 2008 17:08:35 +0000 Subject: Make a couple of private functions static git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17087 a1c6a512-1295-4272-9138-f99709370657 --- firmware/font_cache.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/firmware/font_cache.c b/firmware/font_cache.c index f816635161..0fe36fe8eb 100644 --- a/firmware/font_cache.c +++ b/firmware/font_cache.c @@ -23,7 +23,7 @@ /******************************************************************************* * font_cache_lru_init ******************************************************************************/ -void font_cache_lru_init(void* data) +static void font_cache_lru_init(void* data) { struct font_cache_entry* p = data; p->_char_code = 0xffff; /* assume invalid char */ @@ -69,9 +69,9 @@ void font_cache_create( /******************************************************************************* * font_cache_index_of ******************************************************************************/ -int font_cache_index_of( - struct font_cache* fcache, - unsigned short char_code) +static int font_cache_index_of( + struct font_cache* fcache, + unsigned short char_code) { struct font_cache_entry* p; int left, right, mid, c; @@ -101,9 +101,9 @@ int font_cache_index_of( /******************************************************************************* * font_cache_insertion_point ******************************************************************************/ -int font_cache_insertion_point( - struct font_cache* fcache, - unsigned short char_code) +static int font_cache_insertion_point( + struct font_cache* fcache, + unsigned short char_code) { struct font_cache_entry* p; short *index = fcache->_index; -- cgit v1.2.3