diff options
-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; |