diff options
author | Boris Gjenero <dreamlayers@rockbox.org> | 2011-12-14 21:45:25 +0000 |
---|---|---|
committer | Boris Gjenero <dreamlayers@rockbox.org> | 2011-12-14 21:45:25 +0000 |
commit | 8e6030c8223bfb3102048b2daccbf6a6f4e97ba2 (patch) | |
tree | 92f6769d3fbb5936e32d5fb82480b776ea6fbfb9 /apps/radio | |
parent | 273fbadb5537743829f9830de5247626a11aedca (diff) |
FS#12378 : Remove various unused code, and comment out some unused code and data for reference or future use.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31256 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/radio')
-rw-r--r-- | apps/radio/presets.c | 2 | ||||
-rw-r--r-- | apps/radio/radio.h | 3 | ||||
-rw-r--r-- | apps/radio/radio_skin.c | 4 |
3 files changed, 4 insertions, 5 deletions
diff --git a/apps/radio/presets.c b/apps/radio/presets.c index 46ce0b1b5c..9eab4901f1 100644 --- a/apps/radio/presets.c +++ b/apps/radio/presets.c @@ -617,6 +617,7 @@ void presets_save(void) radio_save_presets(); } +#if 0 /* disabled in draw_progressbar() */ #ifdef HAVE_LCD_BITMAP static inline void draw_vertical_line_mark(struct screen * screen, int x, int y, int h) @@ -643,3 +644,4 @@ void presets_draw_markers(struct screen *screen, } } #endif +#endif diff --git a/apps/radio/radio.h b/apps/radio/radio.h index 76615e39e7..d243cb67a5 100644 --- a/apps/radio/radio.h +++ b/apps/radio/radio.h @@ -62,7 +62,9 @@ struct fmstation char name[MAX_FMPRESET_LEN+1]; }; const char* radio_get_preset_name(int preset); +#if 0 /* disabled in draw_progressbar() */ void presets_draw_markers(struct screen *screen, int x, int y, int w, int h); +#endif #ifdef HAVE_ALBUMART void radioart_init(bool entering_screen); @@ -79,7 +81,6 @@ enum fms_exiting { /* only radio.c should be using these! */ int fms_do_button_loop(bool update_screen); -struct gui_wps *fms_get(enum screen_type screen); void fms_fix_displays(enum fms_exiting toggle_state); #endif /* CONFIG_TUNER */ diff --git a/apps/radio/radio_skin.c b/apps/radio/radio_skin.c index 2c9c369979..521890c9bd 100644 --- a/apps/radio/radio_skin.c +++ b/apps/radio/radio_skin.c @@ -125,7 +125,3 @@ int fms_do_button_loop(bool update_screen) return button; } -struct gui_wps *fms_get(enum screen_type screen) -{ - return skin_get_gwps(FM_SCREEN, screen); -} |