aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-11-22 00:08:43 +0100
committerMax Kellermann <max@duempel.org>2013-11-22 00:08:43 +0100
commit2ecd5fa28d05e20e7ef281ccd6760d73cbc04e8d (patch)
tree55d8dcdd96068ec6e723a50ca13230e4dae646b1 /src
parente719b6cc410cc0d9699df7ab5c308d6af4ec01e3 (diff)
downloadmpd-2ecd5fa28d05e20e7ef281ccd6760d73cbc04e8d.tar.gz
mpd-2ecd5fa28d05e20e7ef281ccd6760d73cbc04e8d.tar.xz
mpd-2ecd5fa28d05e20e7ef281ccd6760d73cbc04e8d.zip
Stats: don't export the global variable "stats"
Unused outside of Stats.cxx.
Diffstat (limited to 'src')
-rw-r--r--src/Stats.cxx2
-rw-r--r--src/Stats.hxx2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/Stats.cxx b/src/Stats.cxx
index 6cd6977ec..93795aee5 100644
--- a/src/Stats.cxx
+++ b/src/Stats.cxx
@@ -30,7 +30,7 @@
#include <glib.h>
-struct stats stats;
+static struct stats stats;
void stats_global_init(void)
{
diff --git a/src/Stats.hxx b/src/Stats.hxx
index 1b141355c..525dc154c 100644
--- a/src/Stats.hxx
+++ b/src/Stats.hxx
@@ -40,8 +40,6 @@ struct stats {
unsigned album_count;
};
-extern struct stats stats;
-
void stats_global_init(void);
void stats_global_finish(void);