diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-06-01 01:22:36 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2022-12-03 06:34:47 -0500 |
commit | 98c7505c60714d216814ababe645ed86785f2aec (patch) | |
tree | 83a8e40b07b5f50f2cda3d6a93d630bcaae93de0 /apps/main.c | |
parent | 03c225fe54a2ae4699f92473ea21da11ba043148 (diff) | |
download | rockbox-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/main.c')
-rw-r--r-- | apps/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/main.c b/apps/main.c index 6360267243..f86d91e42e 100644 --- a/apps/main.c +++ b/apps/main.c | |||
@@ -597,7 +597,7 @@ static void init(void) | |||
597 | CHART("<init_dircache(true)"); | 597 | CHART("<init_dircache(true)"); |
598 | #ifdef HAVE_TAGCACHE | 598 | #ifdef HAVE_TAGCACHE |
599 | if (rc < 0) | 599 | if (rc < 0) |
600 | remove(TAGCACHE_STATEFILE); | 600 | tagcache_remove_statefile(); |
601 | #endif /* HAVE_TAGCACHE */ | 601 | #endif /* HAVE_TAGCACHE */ |
602 | #endif /* HAVE_DIRCACHE */ | 602 | #endif /* HAVE_DIRCACHE */ |
603 | 603 | ||