From 2f67cdc3e8e718b449320841b4a64e97f42793e0 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sun, 20 Jun 2010 16:33:00 +0000 Subject: Make unnecessarily static local variables non-static. It's more efficient, and it also fixes the weird lines with EABI on ARM7TDMI, although it doesn't explain them. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26995 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/pictureflow/pictureflow.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/plugins/pictureflow/pictureflow.c') diff --git a/apps/plugins/pictureflow/pictureflow.c b/apps/plugins/pictureflow/pictureflow.c index 787dea4cf9..546afad217 100644 --- a/apps/plugins/pictureflow/pictureflow.c +++ b/apps/plugins/pictureflow/pictureflow.c @@ -2317,7 +2317,7 @@ void update_cover_out_animation(void) */ static inline void draw_gradient(int y, int h) { - static int r, inc, c; + int r, inc, c; inc = (100 << 8) / h; c = 0; selected_track_pulse = (selected_track_pulse+1) % 10; @@ -2390,7 +2390,7 @@ void show_track_list(void) create_track_index(center_slide.slide_index); reset_track_list(); } - static int titletxt_w, titletxt_x, color, titletxt_h; + int titletxt_w, titletxt_x, color, titletxt_h; titletxt_h = rb->screens[SCREEN_MAIN]->getcharheight(); int titletxt_y = track_list_y; -- cgit v1.2.3