From 5ed9f02c4de0a8ddb7649e0541a8d6f32f61b3f8 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 30 Jan 2013 22:53:12 +0100 Subject: TagPool, ...: include cleanup --- test/test_queue_priority.cxx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'test') diff --git a/test/test_queue_priority.cxx b/test/test_queue_priority.cxx index cab56d82..8dd1c3f5 100644 --- a/test/test_queue_priority.cxx +++ b/test/test_queue_priority.cxx @@ -3,6 +3,8 @@ #include "song.h" #include "Directory.hxx" +#include + Directory detached_root; Directory::Directory() {} @@ -15,11 +17,11 @@ song_dup_detached(const struct song *src) } void -song_free(G_GNUC_UNUSED struct song *song) +song_free(gcc_unused struct song *song) { } -G_GNUC_UNUSED +gcc_unused static void dump_order(const struct queue *queue) { @@ -46,7 +48,7 @@ check_descending_priority(const struct queue *queue, } int -main(G_GNUC_UNUSED int argc, G_GNUC_UNUSED char **argv) +main(gcc_unused int argc, gcc_unused char **argv) { static struct song songs[16]; -- cgit v1.2.3