aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-30 22:53:12 +0100
committerMax Kellermann <max@duempel.org>2013-01-30 22:53:12 +0100
commit5ed9f02c4de0a8ddb7649e0541a8d6f32f61b3f8 (patch)
tree32094f443903b1c128f2336278f120f896091001 /test
parent378ebad1c8d7079b41319600f13c1c884d6c693a (diff)
downloadmpd-5ed9f02c4de0a8ddb7649e0541a8d6f32f61b3f8.tar.gz
mpd-5ed9f02c4de0a8ddb7649e0541a8d6f32f61b3f8.tar.xz
mpd-5ed9f02c4de0a8ddb7649e0541a8d6f32f61b3f8.zip
TagPool, ...: include cleanup
Diffstat (limited to 'test')
-rw-r--r--test/test_queue_priority.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/test_queue_priority.cxx b/test/test_queue_priority.cxx
index cab56d82f..8dd1c3f5f 100644
--- a/test/test_queue_priority.cxx
+++ b/test/test_queue_priority.cxx
@@ -3,6 +3,8 @@
#include "song.h"
#include "Directory.hxx"
+#include <glib.h>
+
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];