aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/oggvorbis_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-01 18:09:24 +0100
committerMax Kellermann <max@duempel.org>2009-01-01 18:09:24 +0100
commit17bdcc8bae5af513b9b2902e90dfad4d7a0e7dfc (patch)
tree6cb5495417da4bf2ee80255443a3df8ba16e63a8 /src/decoder/oggvorbis_plugin.c
parent7dfe301b54c36ccd934246e81bde6b73e241f858 (diff)
downloadmpd-17bdcc8bae5af513b9b2902e90dfad4d7a0e7dfc.tar.gz
mpd-17bdcc8bae5af513b9b2902e90dfad4d7a0e7dfc.tar.xz
mpd-17bdcc8bae5af513b9b2902e90dfad4d7a0e7dfc.zip
decoder 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/decoder/oggvorbis_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/oggvorbis_plugin.c b/src/decoder/oggvorbis_plugin.c
index 9ec24e426..8dfb3e5d0 100644
--- a/src/decoder/oggvorbis_plugin.c
+++ b/src/decoder/oggvorbis_plugin.c
@@ -73,7 +73,7 @@ static int ogg_seek_cb(void *vdata, ogg_int64_t offset, int whence)
}
/* TODO: check Ogg libraries API and see if we can just not have this func */
-static int ogg_close_cb(mpd_unused void *vdata)
+static int ogg_close_cb(G_GNUC_UNUSED void *vdata)
{
return 0;
}