aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/osx_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/osx_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/osx_plugin.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/output/osx_plugin.c b/src/output/osx_plugin.c
index 36beb1980..ad4128d34 100644
--- a/src/output/osx_plugin.c
+++ b/src/output/osx_plugin.c
@@ -81,9 +81,9 @@ static bool osx_testDefault(void)
}
static void *
-osx_initDriver(mpd_unused struct audio_output *audioOutput,
- mpd_unused const struct audio_format *audio_format,
- mpd_unused ConfigParam * param)
+osx_initDriver(G_GNUC_UNUSED struct audio_output *audioOutput,
+ G_GNUC_UNUSED const struct audio_format *audio_format,
+ G_GNUC_UNUSED ConfigParam * param)
{
return newOsxData();
}
@@ -133,9 +133,10 @@ static void osx_closeDevice(void *data)
static OSStatus
osx_render(void *vdata,
- mpd_unused AudioUnitRenderActionFlags * ioActionFlags,
- mpd_unused const AudioTimeStamp * inTimeStamp,
- mpd_unused UInt32 inBusNumber, mpd_unused UInt32 inNumberFrames,
+ G_GNUC_UNUSED AudioUnitRenderActionFlags * ioActionFlags,
+ G_GNUC_UNUSED const AudioTimeStamp * inTimeStamp,
+ G_GNUC_UNUSED UInt32 inBusNumber,
+ G_GNUC_UNUSED UInt32 inNumberFrames,
AudioBufferList * bufferList)
{
OsxData *od = (OsxData *) vdata;