diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-07-18 23:02:58 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-07-24 21:26:15 +0000 |
commit | 503bb791b0163d47ae798814696b586c37f75cf0 (patch) | |
tree | 04c4556d6dd644a6aac0c3d901a34d60f8d7d1aa /apps/plugin.c | |
parent | 658026e6267277b27d297c481728f74d160a8481 (diff) | |
download | rockbox-503bb791b0163d47ae798814696b586c37f75cf0.tar.gz rockbox-503bb791b0163d47ae798814696b586c37f75cf0.zip |
plugins: Remove six API functions with no users
statusbars, gui_syncstatusbar_draw(), and set_time()
mp3_play_data(), mp3_play_pause(), mp3_play_stop()
[mp3_is_playing() is still used by imageviewer]
(followup to the sh/archos exorcism..)
Change-Id: I06a1d981ffc86b8073fcfa2380a393a07347ab3b
Diffstat (limited to 'apps/plugin.c')
-rw-r--r-- | apps/plugin.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 4fe8544527..e0932f4730 100644 --- a/apps/plugin.c +++ b/apps/plugin.c | |||
@@ -596,10 +596,7 @@ static const struct plugin_api rockbox_api = { | |||
596 | #if defined (HAVE_PITCHCONTROL) | 596 | #if defined (HAVE_PITCHCONTROL) |
597 | sound_set_pitch, | 597 | sound_set_pitch, |
598 | #endif | 598 | #endif |
599 | #if (CONFIG_PLATFORM & PLATFORM_NATIVE) | 599 | #if (CONFIG_PLATFORM & PLATFORM_NATIVE) && defined(HAVE_DISK_STORAGE) |
600 | mp3_play_data, | ||
601 | mp3_play_pause, | ||
602 | mp3_play_stop, | ||
603 | mp3_is_playing, | 600 | mp3_is_playing, |
604 | #endif | 601 | #endif |
605 | &audio_master_sampr_list[0], | 602 | &audio_master_sampr_list[0], |
@@ -711,10 +708,6 @@ static const struct plugin_api rockbox_api = { | |||
711 | root_menu_write_to_cfg, | 708 | root_menu_write_to_cfg, |
712 | root_menu_load_from_cfg, | 709 | root_menu_load_from_cfg, |
713 | 710 | ||
714 | /* statusbars */ | ||
715 | &statusbars, | ||
716 | gui_syncstatusbar_draw, | ||
717 | |||
718 | /* options */ | 711 | /* options */ |
719 | get_settings_list, | 712 | get_settings_list, |
720 | find_setting, | 713 | find_setting, |
@@ -755,7 +748,6 @@ static const struct plugin_api rockbox_api = { | |||
755 | (void *)qsort, | 748 | (void *)qsort, |
756 | kbd_input, | 749 | kbd_input, |
757 | get_time, | 750 | get_time, |
758 | set_time, | ||
759 | gmtime_r, | 751 | gmtime_r, |
760 | #if CONFIG_RTC | 752 | #if CONFIG_RTC |
761 | mktime, | 753 | mktime, |