summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2023-10-05 22:59:05 -0400
committerWilliam Wilgus <wilgus.william@gmail.com>2023-10-05 22:59:05 -0400
commit2e184d129dbb794f118fb076ca931f686d124ecb (patch)
tree994be2a392ce6ce9707d4662254be9e0e00ec963
parentf3baff762ae3e354c5e7a6c361f1f21190a1ab1a (diff)
downloadrockbox-2e184d129d.tar.gz
rockbox-2e184d129d.zip
[FixRed] db_commit
Non Tagcache targets Change-Id: I0e6c1e8551859863105f97f393b308bca947c6d4
-rw-r--r--apps/plugin.c2
-rw-r--r--apps/plugin.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index e916918f23..cb6990384c 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -832,7 +832,9 @@ 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_commit_finalize,
+#endif
};
static int plugin_buffer_handle;
diff --git a/apps/plugin.h b/apps/plugin.h
index 4f9027987f..a85af47826 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -969,7 +969,9 @@ struct plugin_api {
#endif
/* new stuff at the end, sort into place next time
the API gets incompatible */
+#ifdef HAVE_TAGCACHE
void (*tagcache_commit_finalize)(void);
+#endif
};
/* plugin header */