forked from len0rd/rockbox
Made local constant arrays static, saving a few bytes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5014 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d1851e3364
commit
033ba1669b
3 changed files with 41 additions and 34 deletions
|
|
@ -486,7 +486,7 @@ int talk_number(int n, bool enqueue)
|
|||
int talk_value(int n, int unit, bool enqueue)
|
||||
{
|
||||
int unit_id;
|
||||
const int unit_voiced[] =
|
||||
static const int unit_voiced[] =
|
||||
{ /* lookup table for the voice ID of the units */
|
||||
-1, -1, -1, /* regular ID, int, signed */
|
||||
VOICE_MILLISECONDS, /* here come the "real" units */
|
||||
|
|
@ -532,7 +532,7 @@ int talk_value(int n, int unit, bool enqueue)
|
|||
}
|
||||
|
||||
/* spell a string */
|
||||
int talk_spell(const char* spell, bool enqueue)
|
||||
int talk_spell(const char* spell, bool enqueue)
|
||||
{
|
||||
char c; /* currently processed char */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue