aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/fifo_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-01 18:08:29 +0100
committerMax Kellermann <max@duempel.org>2009-01-01 18:08:29 +0100
commit7dfe301b54c36ccd934246e81bde6b73e241f858 (patch)
tree9ad6d18c75bff14bccfa8517e6b29a1ccd878779 /src/output/fifo_plugin.c
parent0734acf392454629502b8b19f0edc865ba064c4c (diff)
downloadmpd-7dfe301b54c36ccd934246e81bde6b73e241f858.tar.gz
mpd-7dfe301b54c36ccd934246e81bde6b73e241f858.tar.xz
mpd-7dfe301b54c36ccd934246e81bde6b73e241f858.zip
output plugins: don't include gcc.h
Use GLib's G_GNUC_UNUSED instead of gcc.h's mpd_unused.
Diffstat (limited to '')
-rw-r--r--src/output/fifo_plugin.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/output/fifo_plugin.c b/src/output/fifo_plugin.c
index 201fce92c..b15f5288e 100644
--- a/src/output/fifo_plugin.c
+++ b/src/output/fifo_plugin.c
@@ -20,6 +20,8 @@
#include "../utils.h"
#include "../timer.h"
+#include <glib.h>
+
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
@@ -155,8 +157,8 @@ static bool openFifo(FifoData *fd)
return true;
}
-static void *fifo_initDriver(mpd_unused struct audio_output *ao,
- mpd_unused const struct audio_format *audio_format,
+static void *fifo_initDriver(G_GNUC_UNUSED struct audio_output *ao,
+ G_GNUC_UNUSED const struct audio_format *audio_format,
ConfigParam *param)
{
FifoData *fd;