aboutsummaryrefslogtreecommitdiffstats
path: root/src/mixer
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-04-16 23:50:32 +0200
committerMax Kellermann <max@duempel.org>2013-04-16 23:50:41 +0200
commit8ce9b530933bb260dccd136b1f3cb553adac8ca3 (patch)
treec74e5b708e1dcfd5b536d604dba62e0740b10aeb /src/mixer
parent0b9e52bd5f3a25b7782540f94759f391d16bb2d1 (diff)
downloadmpd-8ce9b530933bb260dccd136b1f3cb553adac8ca3.tar.gz
mpd-8ce9b530933bb260dccd136b1f3cb553adac8ca3.tar.xz
mpd-8ce9b530933bb260dccd136b1f3cb553adac8ca3.zip
mixer/software: use gcc_unused instead of G_GNUC_UNUSED
Diffstat (limited to 'src/mixer')
-rw-r--r--src/mixer/SoftwareMixerPlugin.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mixer/SoftwareMixerPlugin.cxx b/src/mixer/SoftwareMixerPlugin.cxx
index 20cbf45f0..88702310c 100644
--- a/src/mixer/SoftwareMixerPlugin.cxx
+++ b/src/mixer/SoftwareMixerPlugin.cxx
@@ -48,9 +48,9 @@ struct SoftwareMixer final : public Mixer {
};
static Mixer *
-software_mixer_init(G_GNUC_UNUSED void *ao,
- G_GNUC_UNUSED const struct config_param *param,
- G_GNUC_UNUSED GError **error_r)
+software_mixer_init(gcc_unused void *ao,
+ gcc_unused const struct config_param *param,
+ gcc_unused GError **error_r)
{
return new SoftwareMixer();
}
@@ -64,7 +64,7 @@ software_mixer_finish(Mixer *data)
}
static int
-software_mixer_get_volume(Mixer *mixer, G_GNUC_UNUSED GError **error_r)
+software_mixer_get_volume(Mixer *mixer, gcc_unused GError **error_r)
{
SoftwareMixer *sm = (SoftwareMixer *)mixer;
@@ -73,7 +73,7 @@ software_mixer_get_volume(Mixer *mixer, G_GNUC_UNUSED GError **error_r)
static bool
software_mixer_set_volume(Mixer *mixer, unsigned volume,
- G_GNUC_UNUSED GError **error_r)
+ gcc_unused GError **error_r)
{
SoftwareMixer *sm = (SoftwareMixer *)mixer;