diff options
author | Nils Wallménius <nils@rockbox.org> | 2008-04-12 17:08:35 +0000 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2008-04-12 17:08:35 +0000 |
commit | 660dbac5c92df2ee12ef20d8aba3686b037fbfb3 (patch) | |
tree | bddbbffdbaa772fa4d3593d8bc15ca454faf8118 /firmware | |
parent | a7af9e4a7f25f5a32306c74e95a677e6c85f399e (diff) |
Make a couple of private functions static
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17087 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/font_cache.c | 14 |
1 files 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; |