From c528c01312d85e2d177bcc05ce82a29c97b803cc Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Sun, 20 Sep 2020 11:24:58 -0400 Subject: [PATCH] plugin: Fix pile of warnings. (Bad Solomon) Change-Id: I5a74480d9606c707149667c8387471d98da71386 --- apps/plugin.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/apps/plugin.c b/apps/plugin.c index 7ece50bfd3..6509a43d69 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -668,6 +668,7 @@ static const struct plugin_api rockbox_api = { #if defined(HAVE_TC_RAMCACHE) && defined(HAVE_DIRCACHE) tagcache_fill_tags, #endif + tagcache_get_stat, #endif /* HAVE_TAGCACHE */ #ifdef HAVE_ALBUMART @@ -790,6 +791,7 @@ static const struct plugin_api rockbox_api = { led, /*plugin*/ + plugin_open, plugin_get_buffer, plugin_get_audio_buffer, /* defined in plugin.c */ plugin_release_audio_buffer, /* defined in plugin.c */ @@ -802,10 +804,6 @@ static const struct plugin_api rockbox_api = { /* new stuff at the end, sort into place next time the API gets incompatible */ -#ifdef HAVE_TAGCACHE - tagcache_get_stat, -#endif - plugin_open, }; static int plugin_buffer_handle;