aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/oss_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/oss_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/oss_plugin.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/output/oss_plugin.c b/src/output/oss_plugin.c
index 1f582b2b4..1fa887bea 100644
--- a/src/output/oss_plugin.c
+++ b/src/output/oss_plugin.c
@@ -23,6 +23,7 @@
#include "../mixer.h"
#include <glib.h>
+
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <fcntl.h>
@@ -386,8 +387,8 @@ static void *oss_open_default(ConfigParam *param)
return NULL; /* some compilers can be dumb... */
}
-static void *oss_initDriver(mpd_unused struct audio_output *audioOutput,
- mpd_unused const struct audio_format *audio_format,
+static void *oss_initDriver(G_GNUC_UNUSED struct audio_output *audioOutput,
+ G_GNUC_UNUSED const struct audio_format *audio_format,
ConfigParam * param)
{
if (param) {