Make a couple of private functions static

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17087 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nils Wallménius 2008-04-12 17:08:35 +00:00
parent a7af9e4a7f
commit 660dbac5c9

View file

@ -23,7 +23,7 @@
/******************************************************************************* /*******************************************************************************
* font_cache_lru_init * 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; struct font_cache_entry* p = data;
p->_char_code = 0xffff; /* assume invalid char */ p->_char_code = 0xffff; /* assume invalid char */
@ -69,9 +69,9 @@ void font_cache_create(
/******************************************************************************* /*******************************************************************************
* font_cache_index_of * font_cache_index_of
******************************************************************************/ ******************************************************************************/
int font_cache_index_of( static int font_cache_index_of(
struct font_cache* fcache, struct font_cache* fcache,
unsigned short char_code) unsigned short char_code)
{ {
struct font_cache_entry* p; struct font_cache_entry* p;
int left, right, mid, c; int left, right, mid, c;
@ -101,9 +101,9 @@ int font_cache_index_of(
/******************************************************************************* /*******************************************************************************
* font_cache_insertion_point * font_cache_insertion_point
******************************************************************************/ ******************************************************************************/
int font_cache_insertion_point( static int font_cache_insertion_point(
struct font_cache* fcache, struct font_cache* fcache,
unsigned short char_code) unsigned short char_code)
{ {
struct font_cache_entry* p; struct font_cache_entry* p;
short *index = fcache->_index; short *index = fcache->_index;