diff options
author | Jens Arnold <amiconn@rockbox.org> | 2004-08-26 20:30:22 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2004-08-26 20:30:22 +0000 |
commit | 033ba1669b1e4c7c29e0e4d4d3573a75b681abb5 (patch) | |
tree | 90cd8ae9fbf139169275882e3f178b81763937e6 /apps/talk.c | |
parent | d1851e3364d4fa1c54525755cfd3c33c09e39767 (diff) | |
download | rockbox-033ba1669b1e4c7c29e0e4d4d3573a75b681abb5.tar.gz rockbox-033ba1669b1e4c7c29e0e4d4d3573a75b681abb5.zip |
Made local constant arrays static, saving a few bytes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5014 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/talk.c')
-rw-r--r-- | apps/talk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/talk.c b/apps/talk.c index d90d23866e..83acbb09d5 100644 --- a/apps/talk.c +++ b/apps/talk.c | |||
@@ -486,7 +486,7 @@ int talk_number(int n, bool enqueue) | |||
486 | int talk_value(int n, int unit, bool enqueue) | 486 | int talk_value(int n, int unit, bool enqueue) |
487 | { | 487 | { |
488 | int unit_id; | 488 | int unit_id; |
489 | const int unit_voiced[] = | 489 | static const int unit_voiced[] = |
490 | { /* lookup table for the voice ID of the units */ | 490 | { /* lookup table for the voice ID of the units */ |
491 | -1, -1, -1, /* regular ID, int, signed */ | 491 | -1, -1, -1, /* regular ID, int, signed */ |
492 | VOICE_MILLISECONDS, /* here come the "real" units */ | 492 | VOICE_MILLISECONDS, /* here come the "real" units */ |
@@ -532,7 +532,7 @@ int talk_value(int n, int unit, bool enqueue) | |||
532 | } | 532 | } |
533 | 533 | ||
534 | /* spell a string */ | 534 | /* spell a string */ |
535 | int talk_spell(const char* spell, bool enqueue) | 535 | int talk_spell(const char* spell, bool enqueue) |
536 | { | 536 | { |
537 | char c; /* currently processed char */ | 537 | char c; /* currently processed char */ |
538 | 538 | ||