ucm: move __snd_ctl_ascii_elem_id_parse prototype to control_local.h

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2021-03-25 20:40:22 +01:00
parent 03cb988179
commit b0b9e4b88d
2 changed files with 5 additions and 4 deletions

View file

@ -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, int __snd_ctl_add_elem_set(snd_ctl_t *ctl, snd_ctl_elem_info_t *info,
unsigned int element_count, unsigned int element_count,
unsigned int member_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);

View file

@ -31,6 +31,7 @@
*/ */
#include "ucm_local.h" #include "ucm_local.h"
#include "../control/control_local.h"
#include <stdbool.h> #include <stdbool.h>
#include <ctype.h> #include <ctype.h>
#include <stdarg.h> #include <stdarg.h>
@ -253,10 +254,6 @@ static int binary_file_parse(snd_ctl_elem_value_t *dst,
return err; 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) static int execute_cset(snd_ctl_t *ctl, const char *cset, unsigned int type)
{ {
const char *pos; const char *pos;