mixer/software: use gcc_unused instead of G_GNUC_UNUSED

This commit is contained in:
Max Kellermann 2013-04-16 23:50:32 +02:00
parent 0b9e52bd5f
commit 8ce9b53093

View File

@ -48,9 +48,9 @@ struct SoftwareMixer final : public Mixer {
}; };
static Mixer * static Mixer *
software_mixer_init(G_GNUC_UNUSED void *ao, software_mixer_init(gcc_unused void *ao,
G_GNUC_UNUSED const struct config_param *param, gcc_unused const struct config_param *param,
G_GNUC_UNUSED GError **error_r) gcc_unused GError **error_r)
{ {
return new SoftwareMixer(); return new SoftwareMixer();
} }
@ -64,7 +64,7 @@ software_mixer_finish(Mixer *data)
} }
static int 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; SoftwareMixer *sm = (SoftwareMixer *)mixer;
@ -73,7 +73,7 @@ software_mixer_get_volume(Mixer *mixer, G_GNUC_UNUSED GError **error_r)
static bool static bool
software_mixer_set_volume(Mixer *mixer, unsigned volume, software_mixer_set_volume(Mixer *mixer, unsigned volume,
G_GNUC_UNUSED GError **error_r) gcc_unused GError **error_r)
{ {
SoftwareMixer *sm = (SoftwareMixer *)mixer; SoftwareMixer *sm = (SoftwareMixer *)mixer;