aboutsummaryrefslogtreecommitdiffstats
path: root/src/ClientSubscribe.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-03 10:33:04 +0100
committerMax Kellermann <max@duempel.org>2013-01-03 11:16:18 +0100
commit70b87f2eb620bdf1d7e07141914feb2316794fb3 (patch)
tree427aba509182a185263e00e222c4ee7b0fd0eb87 /src/ClientSubscribe.cxx
parent94b2ee627c06679eb2622f2ac2e2fb0240fbab3c (diff)
downloadmpd-70b87f2eb620bdf1d7e07141914feb2316794fb3.tar.gz
mpd-70b87f2eb620bdf1d7e07141914feb2316794fb3.tar.xz
mpd-70b87f2eb620bdf1d7e07141914feb2316794fb3.zip
client: convert to C++
Diffstat (limited to '')
-rw-r--r--src/ClientSubscribe.cxx (renamed from src/client_subscribe.c)11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/client_subscribe.c b/src/ClientSubscribe.cxx
index c65a7ed31..38440be7b 100644
--- a/src/client_subscribe.c
+++ b/src/ClientSubscribe.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
@@ -17,10 +17,13 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "client_subscribe.h"
-#include "client_internal.h"
-#include "client_idle.h"
+#include "ClientSubscribe.hxx"
+#include "ClientIdle.hxx"
+#include "ClientInternal.hxx"
+
+extern "C" {
#include "idle.h"
+}
#include <string.h>