diff options
author | Max Kellermann <max@duempel.org> | 2013-11-22 00:08:43 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-11-22 00:08:43 +0100 |
commit | 2ecd5fa28d05e20e7ef281ccd6760d73cbc04e8d (patch) | |
tree | 55d8dcdd96068ec6e723a50ca13230e4dae646b1 | |
parent | e719b6cc410cc0d9699df7ab5c308d6af4ec01e3 (diff) |
Stats: don't export the global variable "stats"
Unused outside of Stats.cxx.
-rw-r--r-- | src/Stats.cxx | 2 | ||||
-rw-r--r-- | src/Stats.hxx | 2 |
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); |