aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-08-29 19:07:30 +0200
committerMax Kellermann <max@duempel.org>2012-08-29 19:07:30 +0200
commit7b35d5e9d47fdea707c04e7413e5b5f0dd336fda (patch)
treefd4c5676ab3a81e611cbec96df84fd92ea197112
parent6d4ca071a5cefc756f734e57a7799b80ff037ddb (diff)
downloadmpd-7b35d5e9d47fdea707c04e7413e5b5f0dd336fda.tar.gz
mpd-7b35d5e9d47fdea707c04e7413e5b5f0dd336fda.tar.xz
mpd-7b35d5e9d47fdea707c04e7413e5b5f0dd336fda.zip
queue_print: rename to QueuePrint.cxx
-rw-r--r--Makefile.am2
-rw-r--r--src/QueuePrint.cxx (renamed from src/queue_print.c)5
2 files changed, 5 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index b73195195..aa221c209 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -335,7 +335,7 @@ src_mpd_SOURCES = \
src/playlist_vector.c \
src/playlist_database.c \
src/queue.c \
- src/queue_print.c \
+ src/QueuePrint.cxx \
src/queue_save.c \
src/replay_gain_config.c \
src/replay_gain_info.c \
diff --git a/src/queue_print.c b/src/QueuePrint.cxx
index d956bbf98..bc7f86e52 100644
--- a/src/queue_print.c
+++ b/src/QueuePrint.cxx
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2011 The Music Player Daemon Project
+ * Copyright (C) 2003-2012 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
@@ -18,6 +18,8 @@
*/
#include "config.h"
+
+extern "C" {
#include "queue_print.h"
#include "queue.h"
#include "song.h"
@@ -25,6 +27,7 @@
#include "locate.h"
#include "client.h"
#include "mapper.h"
+}
/**
* Send detailed information about a range of songs in the queue to a