Changed the FOR_NB_SCREENS macro to always be a for loop that declares its own loop...
commit0942e2a0f71d809c1d7f2606cbddfa1d4beacb87
authorBjörn Stenberg <bjorn@haxx.se>
Sat, 15 Oct 2011 19:35:02 +0000 (15 19:35 +0000)
committerBjörn Stenberg <bjorn@haxx.se>
Sat, 15 Oct 2011 19:35:02 +0000 (15 19:35 +0000)
treece2fbdea468cb8223598c546fee765a10660a0b0
parentf301ac05f9dd6ace2355fa822bd61d454c2c4f28
Changed the FOR_NB_SCREENS macro to always be a for loop that declares its own loop variable. This removes the need to declare this variable in the outer scope.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30756 a1c6a512-1295-4272-9138-f99709370657
59 files changed:
apps/alarm_menu.c
apps/debug_menu.c
apps/dsp.c
apps/gui/bitmap/list.c
apps/gui/charcell/list.c
apps/gui/color_picker.c
apps/gui/list.c
apps/gui/pitchscreen.c
apps/gui/quickscreen.c
apps/gui/skin_engine/skin_backdrops.c
apps/gui/skin_engine/skin_display.c
apps/gui/skin_engine/skin_engine.c
apps/gui/splash.c
apps/gui/statusbar-skinned.c
apps/gui/statusbar.c
apps/gui/usb_screen.c
apps/gui/viewport.c
apps/gui/wps.c
apps/gui/yesno.c
apps/hosted/android/yesno.c
apps/main.c
apps/menu.c
apps/menus/eq_menu.c
apps/menus/recording_menu.c
apps/menus/time_menu.c
apps/misc.c
apps/onplay.c
apps/playlist.c
apps/plugin.c
apps/plugins/alarmclock.c
apps/plugins/clock/clock.c
apps/plugins/clock/clock_draw.c
apps/plugins/clock/clock_settings.c
apps/plugins/demystify.c
apps/plugins/dice.c
apps/plugins/frotz/frotz.c
apps/plugins/iriverify.c
apps/plugins/jackpot.c
apps/plugins/lrcplayer.c
apps/plugins/maze.c
apps/plugins/metronome.c
apps/plugins/properties.c
apps/plugins/random_folder_advance_config.c
apps/plugins/search.c
apps/plugins/shortcuts/shortcuts_view.c
apps/plugins/sokoban.c
apps/plugins/zxbox/zxbox_keyb.c
apps/radio/presets.c
apps/radio/radio.c
apps/radio/radio_skin.c
apps/radio/radioart.c
apps/recorder/keyboard.c
apps/recorder/peakmeter.c
apps/recorder/recording.c
apps/root_menu.c
apps/screen_access.h
apps/screens.c
apps/settings.c
apps/tree.c