From 503bb791b0163d47ae798814696b586c37f75cf0 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Sat, 18 Jul 2020 23:02:58 -0400 Subject: 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 --- apps/plugin.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'apps/plugin.c') 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 = { #if defined (HAVE_PITCHCONTROL) sound_set_pitch, #endif -#if (CONFIG_PLATFORM & PLATFORM_NATIVE) - mp3_play_data, - mp3_play_pause, - mp3_play_stop, +#if (CONFIG_PLATFORM & PLATFORM_NATIVE) && defined(HAVE_DISK_STORAGE) mp3_is_playing, #endif &audio_master_sampr_list[0], @@ -711,10 +708,6 @@ static const struct plugin_api rockbox_api = { root_menu_write_to_cfg, root_menu_load_from_cfg, - /* statusbars */ - &statusbars, - gui_syncstatusbar_draw, - /* options */ get_settings_list, find_setting, @@ -755,7 +748,6 @@ static const struct plugin_api rockbox_api = { (void *)qsort, kbd_input, get_time, - set_time, gmtime_r, #if CONFIG_RTC mktime, -- cgit v1.2.3