diff options
author | Max Kellermann <max@duempel.org> | 2008-10-08 11:07:55 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-08 11:07:55 +0200 |
commit | bb8a9533b1a2df4ea34be2c6f053f22fe49a60d0 (patch) | |
tree | 40fbdabccc553f9681753d2b4bc6b4aeb9760951 /src/stats.c | |
parent | 7a023eb0b2d41ae0511c45449abada94df04dd7d (diff) | |
download | mpd-bb8a9533b1a2df4ea34be2c6f053f22fe49a60d0.tar.gz mpd-bb8a9533b1a2df4ea34be2c6f053f22fe49a60d0.tar.xz mpd-bb8a9533b1a2df4ea34be2c6f053f22fe49a60d0.zip |
database: renamed functions, "db_" prefix and no CamelCase
Yet another CamelCase removal patch.
Diffstat (limited to 'src/stats.c')
-rw-r--r-- | src/stats.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stats.c b/src/stats.c index a9e929e90..fe842a789 100644 --- a/src/stats.c +++ b/src/stats.c @@ -66,7 +66,7 @@ static unsigned int getNumberOfTagItems(int type) }; unsigned int ret; - traverseAllIn(NULL, visit_tag_items, NULL, &data); + db_walk(NULL, visit_tag_items, NULL, &data); ret = strset_size(data.set); strset_free(data.set); @@ -89,6 +89,6 @@ int printStats(struct client *client) time(NULL) - stats.daemonStart, (long)(getPlayerTotalPlayTime() + 0.5), stats.dbPlayTime, - getDbModTime()); + db_get_mtime()); return 0; } |