From 2a91715c4643fd5cd9cccce0c2aa56cc493e75ce Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 3 Sep 2008 02:51:43 +0200 Subject: 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. --- pulse/ctl_pulse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pulse') 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, -- cgit