From 2ecd5fa28d05e20e7ef281ccd6760d73cbc04e8d Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 22 Nov 2013 00:08:43 +0100 Subject: [PATCH] Stats: don't export the global variable "stats" Unused outside of Stats.cxx. --- src/Stats.cxx | 2 +- src/Stats.hxx | 2 -- 2 files changed, 1 insertion(+), 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 -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);