summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-09-20 11:24:58 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-09-20 15:25:13 +0000
commitc528c01312d85e2d177bcc05ce82a29c97b803cc (patch)
treed206b85f5e169fd4f4dd98bbe647e54f0ab1e619
parent5d40d9758500e1215c2eeb326ec06fa95500be67 (diff)
downloadrockbox-c528c01312.tar.gz
rockbox-c528c01312.tar.bz2
rockbox-c528c01312.zip
plugin: Fix pile of warnings.
(Bad Solomon) Change-Id: I5a74480d9606c707149667c8387471d98da71386
-rw-r--r--apps/plugin.c6
1 files 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;