From 8ce9b530933bb260dccd136b1f3cb553adac8ca3 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 16 Apr 2013 23:50:32 +0200 Subject: mixer/software: use gcc_unused instead of G_GNUC_UNUSED --- src/mixer/SoftwareMixerPlugin.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/mixer') 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; -- cgit v1.2.3