aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Jansen <mithi@mithi.net>2008-11-24 14:47:44 +0100
committerThomas Jansen <mithi@mithi.net>2008-11-24 14:47:44 +0100
commitb9fefc4564058bb65cf1531ad8359de0e7d10f3f (patch)
treec7714711bffae31a618bd4db656ff4b879a11b48
parent3742cf3abb158b59c2a1453b9a53334480aaea5b (diff)
downloadmpd-b9fefc4564058bb65cf1531ad8359de0e7d10f3f.tar.gz
mpd-b9fefc4564058bb65cf1531ad8359de0e7d10f3f.tar.xz
mpd-b9fefc4564058bb65cf1531ad8359de0e7d10f3f.zip
player_thread.c: replaced mpd_unused by G_GNUC_UNUSED
-rw-r--r--src/player_thread.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/player_thread.c b/src/player_thread.c
index 3c3b93a83..1595c0af8 100644
--- a/src/player_thread.c
+++ b/src/player_thread.c
@@ -29,6 +29,8 @@
#include "pipe.h"
#include "idle.h"
+#include <glib.h>
+
enum xfade_state {
XFADE_DISABLED = -1,
XFADE_UNKNOWN = 0,
@@ -490,7 +492,7 @@ static void do_play(void)
player_stop_decoder();
}
-static void * player_task(mpd_unused void *arg)
+static void * player_task(G_GNUC_UNUSED void *arg)
{
while (1) {
switch (pc.command) {