From ec883e1901cb14c1719345b47e8e2ba4a0f925b4 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 2 Oct 2013 12:14:07 +0200 Subject: Stats: rename stats.h to Stats.hxx --- src/DatabaseGlue.cxx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/DatabaseGlue.cxx') 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 #include + static Database *db; static bool db_is_open; static bool is_simple; -- cgit v1.2.3