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 | |
parent | a7af9e4a7f25f5a32306c74e95a677e6c85f399e (diff) | |
download | rockbox-660dbac5c92df2ee12ef20d8aba3686b037fbfb3.tar.gz rockbox-660dbac5c92df2ee12ef20d8aba3686b037fbfb3.zip |
Make a couple of private functions static
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17087 a1c6a512-1295-4272-9138-f99709370657
-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 @@ | |||
23 | /******************************************************************************* | 23 | /******************************************************************************* |
24 | * font_cache_lru_init | 24 | * font_cache_lru_init |
25 | ******************************************************************************/ | 25 | ******************************************************************************/ |
26 | void font_cache_lru_init(void* data) | 26 | static void font_cache_lru_init(void* data) |
27 | { | 27 | { |
28 | struct font_cache_entry* p = data; | 28 | struct font_cache_entry* p = data; |
29 | p->_char_code = 0xffff; /* assume invalid char */ | 29 | p->_char_code = 0xffff; /* assume invalid char */ |
@@ -69,9 +69,9 @@ void font_cache_create( | |||
69 | /******************************************************************************* | 69 | /******************************************************************************* |
70 | * font_cache_index_of | 70 | * font_cache_index_of |
71 | ******************************************************************************/ | 71 | ******************************************************************************/ |
72 | int font_cache_index_of( | 72 | static int font_cache_index_of( |
73 | struct font_cache* fcache, | 73 | struct font_cache* fcache, |
74 | unsigned short char_code) | 74 | unsigned short char_code) |
75 | { | 75 | { |
76 | struct font_cache_entry* p; | 76 | struct font_cache_entry* p; |
77 | int left, right, mid, c; | 77 | int left, right, mid, c; |
@@ -101,9 +101,9 @@ int font_cache_index_of( | |||
101 | /******************************************************************************* | 101 | /******************************************************************************* |
102 | * font_cache_insertion_point | 102 | * font_cache_insertion_point |
103 | ******************************************************************************/ | 103 | ******************************************************************************/ |
104 | int font_cache_insertion_point( | 104 | static int font_cache_insertion_point( |
105 | struct font_cache* fcache, | 105 | struct font_cache* fcache, |
106 | unsigned short char_code) | 106 | unsigned short char_code) |
107 | { | 107 | { |
108 | struct font_cache_entry* p; | 108 | struct font_cache_entry* p; |
109 | short *index = fcache->_index; | 109 | short *index = fcache->_index; |