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
This commit is contained in:
Bertrik Sikken 2008-05-03 16:23:37 +00:00
parent 8a04f62031
commit f8a641d6f8
3 changed files with 7 additions and 7 deletions

View file

@ -4154,7 +4154,7 @@ void tagcache_screensync_enable(bool state)
tc_stat.syncscreen = state; tc_stat.syncscreen = state;
} }
void build_tagcache(const char *path) void tagcache_build(const char *path)
{ {
struct tagcache_header header; struct tagcache_header header;
bool ret; bool ret;
@ -4323,11 +4323,11 @@ static void tagcache_thread(void)
case Q_REBUILD: case Q_REBUILD:
remove_files(); remove_files();
build_tagcache("/"); tagcache_build("/");
break; break;
case Q_UPDATE: case Q_UPDATE:
build_tagcache("/"); tagcache_build("/");
#ifdef HAVE_TC_RAMCACHE #ifdef HAVE_TC_RAMCACHE
load_ramcache(); load_ramcache();
#endif #endif
@ -4345,13 +4345,13 @@ static void tagcache_thread(void)
{ {
load_ramcache(); load_ramcache();
if (tc_stat.ramcache && global_settings.tagcache_autoupdate) if (tc_stat.ramcache && global_settings.tagcache_autoupdate)
build_tagcache("/"); tagcache_build("/");
} }
else else
#endif #endif
if (global_settings.tagcache_autoupdate) if (global_settings.tagcache_autoupdate)
{ {
build_tagcache("/"); tagcache_build("/");
/* This will be very slow unless dircache is enabled /* This will be very slow unless dircache is enabled
or target is flash based, but do it anyway for or target is flash based, but do it anyway for

View file

@ -169,7 +169,7 @@ struct tagcache_search {
int idx_id; int idx_id;
}; };
void build_tagcache(const char *path); void tagcache_build(const char *path);
#ifdef __PCTOOL__ #ifdef __PCTOOL__
void tagcache_reverse_scan(void); void tagcache_reverse_scan(void);

View file

@ -6,7 +6,7 @@
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
tagcache_init(); tagcache_init();
build_tagcache("/export/stuff/mp3"); tagcache_build("/export/stuff/mp3");
tagcache_reverse_scan(); tagcache_reverse_scan();
return 0; return 0;