summaryrefslogtreecommitdiffstats
path: root/pulse
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-09-03 02:51:43 +0200
committerLennart Poettering <lennart@poettering.net>2008-09-03 20:25:37 +0200
commit2a91715c4643fd5cd9cccce0c2aa56cc493e75ce (patch)
tree879f71fdc6f265d76b65273357185bff50fd565b /pulse
parent5fad0daf86a65ee5b46fe56f9dd488a691b25955 (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.
Diffstat (limited to 'pulse')
-rw-r--r--pulse/ctl_pulse.c2
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,