Commit ec883e19 authored by Max Kellermann's avatar Max Kellermann

Stats: rename stats.h to Stats.hxx

parent 060814da
...@@ -65,7 +65,6 @@ mpd_headers = \ ...@@ -65,7 +65,6 @@ mpd_headers = \
src/replay_gain_config.h \ src/replay_gain_config.h \
src/replay_gain_info.h \ src/replay_gain_info.h \
src/TimePrint.cxx src/TimePrint.hxx \ src/TimePrint.cxx src/TimePrint.hxx \
src/stats.h \
src/Timer.hxx src/Timer.hxx
src_mpd_SOURCES = \ src_mpd_SOURCES = \
...@@ -202,7 +201,7 @@ src_mpd_SOURCES = \ ...@@ -202,7 +201,7 @@ src_mpd_SOURCES = \
src/SongSave.cxx src/SongSave.hxx \ src/SongSave.cxx src/SongSave.hxx \
src/SongSort.cxx src/SongSort.hxx \ src/SongSort.cxx src/SongSort.hxx \
src/StateFile.cxx src/StateFile.hxx \ src/StateFile.cxx src/StateFile.hxx \
src/Stats.cxx \ src/Stats.cxx src/Stats.hxx \
src/TagPrint.cxx src/TagPrint.hxx \ src/TagPrint.cxx src/TagPrint.hxx \
src/TagSave.cxx src/TagSave.hxx \ src/TagSave.cxx src/TagSave.hxx \
src/TagFile.cxx src/TagFile.hxx \ src/TagFile.cxx src/TagFile.hxx \
......
...@@ -26,11 +26,7 @@ ...@@ -26,11 +26,7 @@
#include "Directory.hxx" #include "Directory.hxx"
#include "util/Error.hxx" #include "util/Error.hxx"
#include "ConfigData.hxx" #include "ConfigData.hxx"
#include "Stats.hxx"
extern "C" {
#include "stats.h"
}
#include "DatabasePlugin.hxx" #include "DatabasePlugin.hxx"
#include "db/SimpleDatabasePlugin.hxx" #include "db/SimpleDatabasePlugin.hxx"
...@@ -43,6 +39,7 @@ extern "C" { ...@@ -43,6 +39,7 @@ extern "C" {
#include <string.h> #include <string.h>
#include <errno.h> #include <errno.h>
static Database *db; static Database *db;
static bool db_is_open; static bool db_is_open;
static bool is_simple; static bool is_simple;
......
...@@ -62,10 +62,7 @@ ...@@ -62,10 +62,7 @@
#include "ConfigData.hxx" #include "ConfigData.hxx"
#include "ConfigDefaults.hxx" #include "ConfigDefaults.hxx"
#include "ConfigOption.hxx" #include "ConfigOption.hxx"
#include "Stats.hxx"
extern "C" {
#include "stats.h"
}
#ifdef ENABLE_INOTIFY #ifdef ENABLE_INOTIFY
#include "InotifyUpdate.hxx" #include "InotifyUpdate.hxx"
......
...@@ -36,11 +36,7 @@ ...@@ -36,11 +36,7 @@
#include "util/UriUtil.hxx" #include "util/UriUtil.hxx"
#include "util/Error.hxx" #include "util/Error.hxx"
#include "fs/Path.hxx" #include "fs/Path.hxx"
#include "Stats.hxx"
extern "C" {
#include "stats.h"
}
#include "Permission.hxx" #include "Permission.hxx"
#include "PlaylistFile.hxx" #include "PlaylistFile.hxx"
#include "ClientFile.hxx" #include "ClientFile.hxx"
......
...@@ -18,11 +18,7 @@ ...@@ -18,11 +18,7 @@
*/ */
#include "config.h" #include "config.h"
#include "Stats.hxx"
extern "C" {
#include "stats.h"
}
#include "PlayerControl.hxx" #include "PlayerControl.hxx"
#include "ClientInternal.hxx" #include "ClientInternal.hxx"
#include "DatabaseSelection.hxx" #include "DatabaseSelection.hxx"
......
/* /*
* Copyright (C) 2003-2011 The Music Player Daemon Project * Copyright (C) 2003-2013 The Music Player Daemon Project
* http://www.musicpd.org * http://www.musicpd.org
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifndef MPD_STATS_H #ifndef MPD_STATS_HXX
#define MPD_STATS_H #define MPD_STATS_HXX
#include <glib.h> #include <glib.h>
......
...@@ -29,11 +29,7 @@ ...@@ -29,11 +29,7 @@
#include "GlobalEvents.hxx" #include "GlobalEvents.hxx"
#include "util/Error.hxx" #include "util/Error.hxx"
#include "Log.hxx" #include "Log.hxx"
#include "Stats.hxx"
extern "C" {
#include "stats.h"
}
#include "Main.hxx" #include "Main.hxx"
#include "Instance.hxx" #include "Instance.hxx"
#include "system/FatalError.hxx" #include "system/FatalError.hxx"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment