aboutsummaryrefslogtreecommitdiffstats
path: root/src/update_db.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-02 19:22:15 +0100
committerMax Kellermann <max@duempel.org>2013-01-02 19:22:15 +0100
commita654f146d1b39a363cb10853a7670ef099570e54 (patch)
tree2c171646333f0b529655b57bee2c1eb6a3dd7c1c /src/update_db.c
parent67b46a151da4ca6f81fa63d30e2c629da352ec45 (diff)
downloadmpd-a654f146d1b39a363cb10853a7670ef099570e54.tar.gz
mpd-a654f146d1b39a363cb10853a7670ef099570e54.tar.xz
mpd-a654f146d1b39a363cb10853a7670ef099570e54.zip
update: convert to C++
Diffstat (limited to '')
-rw-r--r--src/UpdateDatabase.cxx (renamed from src/update_db.c)9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/update_db.c b/src/UpdateDatabase.cxx
index 8982a53e2..fa3408d66 100644
--- a/src/update_db.c
+++ b/src/UpdateDatabase.cxx
@@ -18,13 +18,16 @@
*/
#include "config.h" /* must be first for large file support */
-#include "update_db.h"
-#include "update_remove.h"
+#include "UpdateDatabase.hxx"
+#include "UpdateRemove.hxx"
#include "directory.h"
#include "song.h"
-#include "playlist_vector.h"
#include "db_lock.h"
+extern "C" {
+#include "playlist_vector.h"
+}
+
#include <glib.h>
#include <assert.h>