summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2008-05-03 16:23:37 +0000
committerBertrik Sikken <bertrik@sikken.nl>2008-05-03 16:23:37 +0000
commitf8a641d6f81c11056259b0d1b452d9beb4f5c9d7 (patch)
tree282a3ce05db1cacec8b933641514a944cc9cbd3d
parent8a04f6203144b46909020d4ec5f91d680a2b88fd (diff)
downloadrockbox-f8a641d6f81c11056259b0d1b452d9beb4f5c9d7.tar.gz
rockbox-f8a641d6f81c11056259b0d1b452d9beb4f5c9d7.zip
Renamed build_tagcache to tagcache_build to make it consistent with the function naming of the other functions in tagcache.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17331 a1c6a512-1295-4272-9138-f99709370657
-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)
4154 tc_stat.syncscreen = state; 4154 tc_stat.syncscreen = state;
4155} 4155}
4156 4156
4157void build_tagcache(const char *path) 4157void 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
172void build_tagcache(const char *path); 172void tagcache_build(const char *path);
173 173
174#ifdef __PCTOOL__ 174#ifdef __PCTOOL__
175void tagcache_reverse_scan(void); 175void 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 @@
6int main(int argc, char **argv) 6int 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;