Eliminate C99 variable defs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11922 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c76d3ae098
commit
f7afb1b3b0
1 changed files with 12 additions and 10 deletions
|
@ -475,6 +475,10 @@ static void show_details (void)
|
|||
|
||||
static void init_rockblox (void)
|
||||
{
|
||||
#ifdef HIGH_SCORE_Y
|
||||
int i;
|
||||
char str[25]; /* for strings */
|
||||
#endif
|
||||
highscore_update(score, level, Highest, MAX_HIGH_SCORES);
|
||||
|
||||
level = 1;
|
||||
|
@ -494,10 +498,8 @@ static void init_rockblox (void)
|
|||
pgfx_fillrect (15, 7, 2, 7);
|
||||
pgfx_update();
|
||||
#endif
|
||||
show_details ();
|
||||
#ifdef HIGH_SCORE_Y
|
||||
int i;
|
||||
char str[25]; /* for strings */
|
||||
show_details ();
|
||||
for (i = MAX_HIGH_SCORES-1; i>=0; i--)
|
||||
{
|
||||
rb->snprintf (str, sizeof (str), "%06d L%1d", Highest[i].score, Highest[i].level);
|
||||
|
|
Loading…
Reference in a new issue