aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/jack_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/jack_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 'src/output/jack_plugin.c')
-rw-r--r--src/output/jack_plugin.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/output/jack_plugin.c b/src/output/jack_plugin.c
index 59b8abf23..d3a718cd1 100644
--- a/src/output/jack_plugin.c
+++ b/src/output/jack_plugin.c
@@ -117,7 +117,7 @@ mpd_jack_finish(void *data)
}
static int
-mpd_jack_srate(mpd_unused jack_nframes_t rate, void *data)
+mpd_jack_srate(G_GNUC_UNUSED jack_nframes_t rate, void *data)
{
struct jack_data *jd = (struct jack_data *)data;
struct audio_format *audioFormat = jd->audio_format;
@@ -186,7 +186,7 @@ mpd_jack_error(const char *msg)
static void *
mpd_jack_init(struct audio_output *ao,
- mpd_unused const struct audio_format *audio_format,
+ G_GNUC_UNUSED const struct audio_format *audio_format,
ConfigParam *param)
{
struct jack_data *jd;
@@ -356,13 +356,13 @@ mpd_jack_open(void *data, struct audio_format *audio_format)
}
static void
-mpd_jack_close(mpd_unused void *data)
+mpd_jack_close(G_GNUC_UNUSED void *data)
{
/*mpd_jack_finish(audioOutput);*/
}
static void
-mpd_jack_cancel (mpd_unused void *data)
+mpd_jack_cancel (G_GNUC_UNUSED void *data)
{
}