aboutsummaryrefslogtreecommitdiffstats
path: root/src/mapper.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-02 22:43:56 +0100
committerMax Kellermann <max@duempel.org>2013-01-02 22:43:56 +0100
commitd65ad1bf151383722802d4bb13b12a33b97480e4 (patch)
treebdbb428484e61a53764ff8df2eeb2c245158e7e6 /src/mapper.c
parent43cbbe111b2429b41b1896f228625cf5692c3d88 (diff)
downloadmpd-d65ad1bf151383722802d4bb13b12a33b97480e4.tar.gz
mpd-d65ad1bf151383722802d4bb13b12a33b97480e4.tar.xz
mpd-d65ad1bf151383722802d4bb13b12a33b97480e4.zip
mapper: convert to C++
Diffstat (limited to '')
-rw-r--r--src/Mapper.cxx (renamed from src/mapper.c)7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mapper.c b/src/Mapper.cxx
index 1f8a54b46..1dc91ed12 100644
--- a/src/mapper.c
+++ b/src/Mapper.cxx
@@ -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
@@ -22,10 +22,13 @@
*/
#include "config.h"
-#include "mapper.h"
+#include "Mapper.hxx"
#include "directory.h"
#include "song.h"
+
+extern "C" {
#include "path.h"
+}
#include <glib.h>