From ab9c9068d4fa9b083daa17582987b846c6c985d4 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 20 Jan 2014 08:57:22 +0100 Subject: 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. --- src/QueuePrint.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/QueuePrint.cxx') 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++) { -- cgit v1.2.3