aboutsummaryrefslogtreecommitdiffstats
path: root/src/DatabaseGlue.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-02 12:14:07 +0200
committerMax Kellermann <max@duempel.org>2013-10-02 12:14:07 +0200
commitec883e1901cb14c1719345b47e8e2ba4a0f925b4 (patch)
tree935d75c1d5e87f2e1995643802fbcba87df6b563 /src/DatabaseGlue.cxx
parent060814daa83f6a94f5934464ae42a406c5c7e947 (diff)
downloadmpd-ec883e1901cb14c1719345b47e8e2ba4a0f925b4.tar.gz
mpd-ec883e1901cb14c1719345b47e8e2ba4a0f925b4.tar.xz
mpd-ec883e1901cb14c1719345b47e8e2ba4a0f925b4.zip
Stats: rename stats.h to Stats.hxx
Diffstat (limited to 'src/DatabaseGlue.cxx')
-rw-r--r--src/DatabaseGlue.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/DatabaseGlue.cxx b/src/DatabaseGlue.cxx
index 10d936eac..d47108f71 100644
--- a/src/DatabaseGlue.cxx
+++ b/src/DatabaseGlue.cxx
@@ -26,11 +26,7 @@
#include "Directory.hxx"
#include "util/Error.hxx"
#include "ConfigData.hxx"
-
-extern "C" {
-#include "stats.h"
-}
-
+#include "Stats.hxx"
#include "DatabasePlugin.hxx"
#include "db/SimpleDatabasePlugin.hxx"
@@ -43,6 +39,7 @@ extern "C" {
#include <string.h>
#include <errno.h>
+
static Database *db;
static bool db_is_open;
static bool is_simple;