From: Lennart Poettering Date: Wed, 3 Sep 2008 00:51:43 +0000 (+0200) Subject: Make pulse_ext_callback const X-Git-Tag: v1.0.18rc3~13 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=2a91715c4643fd5cd9cccce0c2aa56cc493e75ce;p=alsa-plugins.git Make pulse_ext_callback const We can make our instance of snd_ctl_ext_callback_t const without any problems, so let's do it. --- diff --git a/pulse/ctl_pulse.c b/pulse/ctl_pulse.c index 91e9d66..61ec01f 100644 --- a/pulse/ctl_pulse.c +++ b/pulse/ctl_pulse.c @@ -592,7 +592,7 @@ static void pulse_close(snd_ctl_ext_t * ext) free(ctl); } -static snd_ctl_ext_callback_t pulse_ext_callback = { +static const snd_ctl_ext_callback_t pulse_ext_callback = { .elem_count = pulse_elem_count, .elem_list = pulse_elem_list, .find_elem = pulse_find_elem,