summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/tagcache.c10
-rw-r--r--apps/tagcache.h2
-rw-r--r--tools/database.c2
3 files changed, 7 insertions, 7 deletions
diff --git a/apps/tagcache.c b/apps/tagcache.c
index 68b894f9ff..e9a8dab599 100644
--- a/apps/tagcache.c
+++ b/apps/tagcache.c
@@ -4154,7 +4154,7 @@ void tagcache_screensync_enable(bool state)
tc_stat.syncscreen = state;
}
-void build_tagcache(const char *path)
+void tagcache_build(const char *path)
{
struct tagcache_header header;
bool ret;
@@ -4323,11 +4323,11 @@ static void tagcache_thread(void)
case Q_REBUILD:
remove_files();
- build_tagcache("/");
+ tagcache_build("/");
break;
case Q_UPDATE:
- build_tagcache("/");
+ tagcache_build("/");
#ifdef HAVE_TC_RAMCACHE
load_ramcache();
#endif
@@ -4345,13 +4345,13 @@ static void tagcache_thread(void)
{
load_ramcache();
if (tc_stat.ramcache && global_settings.tagcache_autoupdate)
- build_tagcache("/");
+ tagcache_build("/");
}
else
#endif
if (global_settings.tagcache_autoupdate)
{
- build_tagcache("/");
+ tagcache_build("/");
/* This will be very slow unless dircache is enabled
or target is flash based, but do it anyway for
diff --git a/apps/tagcache.h b/apps/tagcache.h
index 143062a95f..b9d6a2911b 100644
--- a/apps/tagcache.h
+++ b/apps/tagcache.h
@@ -169,7 +169,7 @@ struct tagcache_search {
int idx_id;
};
-void build_tagcache(const char *path);
+void tagcache_build(const char *path);
#ifdef __PCTOOL__
void tagcache_reverse_scan(void);
diff --git a/tools/database.c b/tools/database.c
index 3826249d75..9f0c620c2a 100644
--- a/tools/database.c
+++ b/tools/database.c
@@ -6,7 +6,7 @@
int main(int argc, char **argv)
{
tagcache_init();
- build_tagcache("/export/stuff/mp3");
+ tagcache_build("/export/stuff/mp3");
tagcache_reverse_scan();
return 0;