diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-09-03 02:51:43 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-09-03 20:25:37 +0200 |
commit | 2a91715c4643fd5cd9cccce0c2aa56cc493e75ce (patch) | |
tree | 879f71fdc6f265d76b65273357185bff50fd565b | |
parent | 5fad0daf86a65ee5b46fe56f9dd488a691b25955 (diff) |
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.
-rw-r--r-- | pulse/ctl_pulse.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |