From 2e184d129dbb794f118fb076ca931f686d124ecb Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Thu, 5 Oct 2023 22:59:05 -0400 Subject: [PATCH] [FixRed] db_commit Non Tagcache targets Change-Id: I0e6c1e8551859863105f97f393b308bca947c6d4 --- apps/plugin.c | 2 ++ apps/plugin.h | 2 ++ 2 files changed, 4 insertions(+) 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 */