summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2022-06-01 01:22:36 +0100
committerAidan MacDonald <amachronic@protonmail.com>2022-12-03 06:34:47 -0500
commit98c7505c60714d216814ababe645ed86785f2aec (patch)
tree83a8e40b07b5f50f2cda3d6a93d630bcaae93de0 /apps/tree.c
parent03c225fe54a2ae4699f92473ea21da11ba043148 (diff)
downloadrockbox-98c7505c60714d216814ababe645ed86785f2aec.tar.gz
rockbox-98c7505c60714d216814ababe645ed86785f2aec.zip
tagcache: move TAGCACHE_STATEFILE define to .c file
Provide a function to remove the statefile so that external users of this define can call that instead. Change-Id: Id3e1e0564b25fe28bbc68c2e9365d8bf51e6e4f8
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 4a80591201..1149c19104 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -1265,7 +1265,7 @@ void tree_restore(void)
1265#endif 1265#endif
1266 1266
1267#ifdef HAVE_TC_RAMCACHE 1267#ifdef HAVE_TC_RAMCACHE
1268 remove(TAGCACHE_STATEFILE); 1268 tagcache_remove_statefile();
1269#endif 1269#endif
1270 1270
1271#ifdef HAVE_DIRCACHE 1271#ifdef HAVE_DIRCACHE