aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-03 00:25:15 +0100
committerMax Kellermann <max@duempel.org>2013-01-03 01:06:11 +0100
commit440ac51cf0250904813dfc9398ca8c9e6467328f (patch)
tree750ec9c28c92bc15161a25f8edb2cec73becf493 /src
parentd3293b889d20433adede6a248582ce778e1c87b8 (diff)
downloadmpd-440ac51cf0250904813dfc9398ca8c9e6467328f.tar.gz
mpd-440ac51cf0250904813dfc9398ca8c9e6467328f.tar.xz
mpd-440ac51cf0250904813dfc9398ca8c9e6467328f.zip
database.h: rename to DatabaseSimple.hxx
Diffstat (limited to 'src')
-rw-r--r--src/DatabaseGlue.cxx2
-rw-r--r--src/DatabaseSimple.hxx (renamed from src/database.h)6
-rw-r--r--src/Main.cxx2
-rw-r--r--src/Stats.cxx2
-rw-r--r--src/StickerCommands.cxx2
-rw-r--r--src/UpdateGlue.cxx2
-rw-r--r--src/UpdateWalk.cxx2
7 files changed, 9 insertions, 9 deletions
diff --git a/src/DatabaseGlue.cxx b/src/DatabaseGlue.cxx
index 86810c2bd..3325c5ecc 100644
--- a/src/DatabaseGlue.cxx
+++ b/src/DatabaseGlue.cxx
@@ -19,12 +19,12 @@
#include "config.h"
#include "DatabaseGlue.hxx"
+#include "DatabaseSimple.hxx"
#include "DatabaseRegistry.hxx"
#include "DatabaseSave.hxx"
#include "Directory.hxx"
extern "C" {
-#include "database.h"
#include "db_error.h"
#include "stats.h"
#include "conf.h"
diff --git a/src/database.h b/src/DatabaseSimple.hxx
index ee2e609a6..20f038024 100644
--- a/src/database.h
+++ b/src/DatabaseSimple.hxx
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2011 The Music Player Daemon Project
+ * Copyright (C) 2003-2013 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
@@ -17,8 +17,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#ifndef MPD_DATABASE_H
-#define MPD_DATABASE_H
+#ifndef MPD_DATABASE_SIMPLE_HXX
+#define MPD_DATABASE_SIMPLE_HXX
#include "gcc.h"
diff --git a/src/Main.cxx b/src/Main.cxx
index 5e63f5f67..24da70bc4 100644
--- a/src/Main.cxx
+++ b/src/Main.cxx
@@ -26,6 +26,7 @@
#include "PlayerThread.hxx"
#include "Mapper.hxx"
#include "DatabaseGlue.hxx"
+#include "DatabaseSimple.hxx"
extern "C" {
#include "daemon.h"
@@ -35,7 +36,6 @@ extern "C" {
#include "idle.h"
#include "AllCommands.h"
#include "playlist.h"
-#include "database.h"
#include "listen.h"
#include "cmdline.h"
#include "conf.h"
diff --git a/src/Stats.cxx b/src/Stats.cxx
index d08074a8c..81d083d8c 100644
--- a/src/Stats.cxx
+++ b/src/Stats.cxx
@@ -21,7 +21,6 @@
extern "C" {
#include "stats.h"
-#include "database.h"
#include "client.h"
#include "player_control.h"
#include "client_internal.h"
@@ -30,6 +29,7 @@ extern "C" {
#include "DatabaseSelection.hxx"
#include "DatabaseGlue.hxx"
#include "DatabasePlugin.hxx"
+#include "DatabaseSimple.hxx"
struct stats stats;
diff --git a/src/StickerCommands.cxx b/src/StickerCommands.cxx
index a4f83a583..dfb92df38 100644
--- a/src/StickerCommands.cxx
+++ b/src/StickerCommands.cxx
@@ -23,6 +23,7 @@
#include "DatabaseLock.hxx"
#include "DatabasePlugin.hxx"
#include "DatabaseGlue.hxx"
+#include "DatabaseSimple.hxx"
#include "SongSticker.hxx"
#include "StickerPrint.hxx"
#include "StickerDatabase.hxx"
@@ -30,7 +31,6 @@
extern "C" {
#include "protocol/result.h"
-#include "database.h"
}
#include <string.h>
diff --git a/src/UpdateGlue.cxx b/src/UpdateGlue.cxx
index 9cf27588a..f5664893b 100644
--- a/src/UpdateGlue.cxx
+++ b/src/UpdateGlue.cxx
@@ -23,9 +23,9 @@
#include "UpdateWalk.hxx"
#include "UpdateRemove.hxx"
#include "Mapper.hxx"
+#include "DatabaseSimple.hxx"
extern "C" {
-#include "database.h"
#include "playlist.h"
#include "event_pipe.h"
#include "idle.h"
diff --git a/src/UpdateWalk.cxx b/src/UpdateWalk.cxx
index a38b06c37..b848f124e 100644
--- a/src/UpdateWalk.cxx
+++ b/src/UpdateWalk.cxx
@@ -24,6 +24,7 @@
#include "UpdateSong.hxx"
#include "UpdateArchive.hxx"
#include "DatabaseLock.hxx"
+#include "DatabaseSimple.hxx"
#include "Directory.hxx"
#include "song.h"
#include "PlaylistVector.hxx"
@@ -31,7 +32,6 @@
extern "C" {
#include "exclude.h"
-#include "database.h"
#include "uri.h"
#include "path.h"
#include "playlist_list.h"