From: Jaroslav Kysela Date: Thu, 25 Mar 2021 19:40:22 +0000 (+0100) Subject: ucm: move __snd_ctl_ascii_elem_id_parse prototype to control_local.h X-Git-Tag: v1.2.5~79 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=b0b9e4b88d558bf9eec46b510108c51d2b6eaf3b;p=alsa-lib.git ucm: move __snd_ctl_ascii_elem_id_parse prototype to control_local.h Signed-off-by: Jaroslav Kysela --- diff --git a/src/control/control_local.h b/src/control/control_local.h index 4afcfd29..9e205473 100644 --- a/src/control/control_local.h +++ b/src/control/control_local.h @@ -110,3 +110,7 @@ int INTERNAL(snd_ctl_elem_info_get_dimension)(const snd_ctl_elem_info_t *obj, un int __snd_ctl_add_elem_set(snd_ctl_t *ctl, snd_ctl_elem_info_t *info, unsigned int element_count, unsigned int member_count); + +int __snd_ctl_ascii_elem_id_parse(snd_ctl_elem_id_t *dst, + const char *str, + const char **ret_ptr); diff --git a/src/ucm/main.c b/src/ucm/main.c index a2547cb7..d1b0ebbd 100644 --- a/src/ucm/main.c +++ b/src/ucm/main.c @@ -31,6 +31,7 @@ */ #include "ucm_local.h" +#include "../control/control_local.h" #include #include #include @@ -253,10 +254,6 @@ static int binary_file_parse(snd_ctl_elem_value_t *dst, return err; } -extern int __snd_ctl_ascii_elem_id_parse(snd_ctl_elem_id_t *dst, - const char *str, - const char **ret_ptr); - static int execute_cset(snd_ctl_t *ctl, const char *cset, unsigned int type) { const char *pos;