aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/ao_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/ao_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/ao_plugin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/output/ao_plugin.c b/src/output/ao_plugin.c
index 4c69592ff..798a188e8 100644
--- a/src/output/ao_plugin.c
+++ b/src/output/ao_plugin.c
@@ -75,7 +75,7 @@ static void audioOutputAo_error(const char *msg)
}
static void *audioOutputAo_initDriver(struct audio_output *ao,
- mpd_unused const struct audio_format *audio_format,
+ G_GNUC_UNUSED const struct audio_format *audio_format,
ConfigParam * param)
{
ao_info *ai;
@@ -176,7 +176,7 @@ static void audioOutputAo_finishDriver(void *data)
ao_shutdown();
}
-static void audioOutputAo_dropBufferedAudio(mpd_unused void *data)
+static void audioOutputAo_dropBufferedAudio(G_GNUC_UNUSED void *data)
{
/* not supported by libao */
}