aboutsummaryrefslogtreecommitdiffstats
path: root/src/QueuePrint.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-20 08:57:22 +0100
committerMax Kellermann <max@duempel.org>2014-01-20 08:57:46 +0100
commitab9c9068d4fa9b083daa17582987b846c6c985d4 (patch)
treeb4f07b96874cee5c1a0b04b7746745b71f15d313 /src/QueuePrint.cxx
parent6b4d7d7315701945a6c34270a894879b068e5d8d (diff)
downloadmpd-ab9c9068d4fa9b083daa17582987b846c6c985d4.tar.gz
mpd-ab9c9068d4fa9b083daa17582987b846c6c985d4.tar.xz
mpd-ab9c9068d4fa9b083daa17582987b846c6c985d4.zip
Queue: rename struct queue to Queue
Works around a build failure on Solaris because annoyingly, Solaris reserves the name "queue". This rename was pending anyway.
Diffstat (limited to '')
-rw-r--r--src/QueuePrint.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/QueuePrint.cxx b/src/QueuePrint.cxx
index d5651cde0..89f3c0ad3 100644
--- a/src/QueuePrint.cxx
+++ b/src/QueuePrint.cxx
@@ -38,7 +38,7 @@ extern "C" {
* @param end the index of the last song (excluding)
*/
static void
-queue_print_song_info(Client &client, const queue &queue,
+queue_print_song_info(Client &client, const Queue &queue,
unsigned position)
{
song_print_info(client, queue.Get(position));
@@ -51,7 +51,7 @@ queue_print_song_info(Client &client, const queue &queue,
}
void
-queue_print_info(Client &client, const queue &queue,
+queue_print_info(Client &client, const Queue &queue,
unsigned start, unsigned end)
{
assert(start <= end);
@@ -62,7 +62,7 @@ queue_print_info(Client &client, const queue &queue,
}
void
-queue_print_uris(Client &client, const queue &queue,
+queue_print_uris(Client &client, const Queue &queue,
unsigned start, unsigned end)
{
assert(start <= end);
@@ -75,7 +75,7 @@ queue_print_uris(Client &client, const queue &queue,
}
void
-queue_print_changes_info(Client &client, const queue &queue,
+queue_print_changes_info(Client &client, const Queue &queue,
uint32_t version)
{
for (unsigned i = 0; i < queue.GetLength(); i++) {
@@ -85,7 +85,7 @@ queue_print_changes_info(Client &client, const queue &queue,
}
void
-queue_print_changes_position(Client &client, const queue &queue,
+queue_print_changes_position(Client &client, const Queue &queue,
uint32_t version)
{
for (unsigned i = 0; i < queue.GetLength(); i++)
@@ -95,7 +95,7 @@ queue_print_changes_position(Client &client, const queue &queue,
}
void
-queue_find(Client &client, const queue &queue,
+queue_find(Client &client, const Queue &queue,
const SongFilter &filter)
{
for (unsigned i = 0; i < queue.GetLength(); i++) {