aboutsummaryrefslogtreecommitdiffstats
path: root/src/Stats.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-11-22 00:12:12 +0100
committerMax Kellermann <max@duempel.org>2013-11-22 00:12:12 +0100
commit41a3fd0fd06dd9d99b77982eac9b91aca9a768d0 (patch)
treec0aa4a0bb3bfb663af1708395b095fb98bca89d0 /src/Stats.hxx
parentb9169a5670c4cb603b25f0b07e93d9739c5b06f8 (diff)
downloadmpd-41a3fd0fd06dd9d99b77982eac9b91aca9a768d0.tar.gz
mpd-41a3fd0fd06dd9d99b77982eac9b91aca9a768d0.tar.xz
mpd-41a3fd0fd06dd9d99b77982eac9b91aca9a768d0.zip
Stats: use struct DatabaseStats
Eliminate redundant declaration.
Diffstat (limited to '')
-rw-r--r--src/Stats.hxx15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/Stats.hxx b/src/Stats.hxx
index 898048bc5..dd131ce19 100644
--- a/src/Stats.hxx
+++ b/src/Stats.hxx
@@ -22,21 +22,6 @@
class Client;
-struct stats {
- /** number of song files in the music directory */
- unsigned song_count;
-
- /** sum of all song durations in the music directory (in
- seconds) */
- unsigned long song_duration;
-
- /** number of distinct artist names in the music directory */
- unsigned artist_count;
-
- /** number of distinct album names in the music directory */
- unsigned album_count;
-};
-
void stats_global_init(void);
void stats_global_finish(void);