summaryrefslogtreecommitdiffstats
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)
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;