diff options
-rw-r--r-- | apps/tagcache.c | 10 | ||||
-rw-r--r-- | apps/tagcache.h | 2 | ||||
-rw-r--r-- | tools/database.c | 2 |
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) | |||
4154 | tc_stat.syncscreen = state; | 4154 | tc_stat.syncscreen = state; |
4155 | } | 4155 | } |
4156 | 4156 | ||
4157 | void build_tagcache(const char *path) | 4157 | void tagcache_build(const char *path) |
4158 | { | 4158 | { |
4159 | struct tagcache_header header; | 4159 | struct tagcache_header header; |
4160 | bool ret; | 4160 | bool ret; |
@@ -4323,11 +4323,11 @@ static void tagcache_thread(void) | |||
4323 | 4323 | ||
4324 | case Q_REBUILD: | 4324 | case Q_REBUILD: |
4325 | remove_files(); | 4325 | remove_files(); |
4326 | build_tagcache("/"); | 4326 | tagcache_build("/"); |
4327 | break; | 4327 | break; |
4328 | 4328 | ||
4329 | case Q_UPDATE: | 4329 | case Q_UPDATE: |
4330 | build_tagcache("/"); | 4330 | tagcache_build("/"); |
4331 | #ifdef HAVE_TC_RAMCACHE | 4331 | #ifdef HAVE_TC_RAMCACHE |
4332 | load_ramcache(); | 4332 | load_ramcache(); |
4333 | #endif | 4333 | #endif |
@@ -4345,13 +4345,13 @@ static void tagcache_thread(void) | |||
4345 | { | 4345 | { |
4346 | load_ramcache(); | 4346 | load_ramcache(); |
4347 | if (tc_stat.ramcache && global_settings.tagcache_autoupdate) | 4347 | if (tc_stat.ramcache && global_settings.tagcache_autoupdate) |
4348 | build_tagcache("/"); | 4348 | tagcache_build("/"); |
4349 | } | 4349 | } |
4350 | else | 4350 | else |
4351 | #endif | 4351 | #endif |
4352 | if (global_settings.tagcache_autoupdate) | 4352 | if (global_settings.tagcache_autoupdate) |
4353 | { | 4353 | { |
4354 | build_tagcache("/"); | 4354 | tagcache_build("/"); |
4355 | 4355 | ||
4356 | /* This will be very slow unless dircache is enabled | 4356 | /* This will be very slow unless dircache is enabled |
4357 | or target is flash based, but do it anyway for | 4357 | 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 { | |||
169 | int idx_id; | 169 | int idx_id; |
170 | }; | 170 | }; |
171 | 171 | ||
172 | void build_tagcache(const char *path); | 172 | void tagcache_build(const char *path); |
173 | 173 | ||
174 | #ifdef __PCTOOL__ | 174 | #ifdef __PCTOOL__ |
175 | void tagcache_reverse_scan(void); | 175 | 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 @@ | |||
6 | int main(int argc, char **argv) | 6 | int main(int argc, char **argv) |
7 | { | 7 | { |
8 | tagcache_init(); | 8 | tagcache_init(); |
9 | build_tagcache("/export/stuff/mp3"); | 9 | tagcache_build("/export/stuff/mp3"); |
10 | tagcache_reverse_scan(); | 10 | tagcache_reverse_scan(); |
11 | 11 | ||
12 | return 0; | 12 | return 0; |