From 17bdcc8bae5af513b9b2902e90dfad4d7a0e7dfc Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 1 Jan 2009 18:09:24 +0100 Subject: decoder plugins: don't include gcc.h Use GLib's G_GNUC_UNUSED instead of gcc.h's mpd_unused. --- src/decoder/oggvorbis_plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/decoder/oggvorbis_plugin.c') 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; } -- cgit v1.2.3