mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-04 13:30:08 -05:00
control: Proper reference of internal versioned functions
The multiply defined versioned symbols have to be called with INTERNAL() wrapper. Add the missing declarations of the internal forms of snd_ctl_elem_info_get_dimension*() in the local header, and use them in the (still remaining) callers in alisp. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
dc68f69a66
commit
d4e08c5e86
2 changed files with 7 additions and 2 deletions
|
|
@ -100,3 +100,8 @@ int snd_ctl_shm_open(snd_ctl_t **handlep, const char *name, const char *sockname
|
|||
int snd_ctl_async(snd_ctl_t *ctl, int sig, pid_t pid);
|
||||
|
||||
#define CTLINABORT(x) ((x)->nonblock == 2)
|
||||
|
||||
#ifdef INTERNAL
|
||||
int INTERNAL(snd_ctl_elem_info_get_dimensions)(const snd_ctl_elem_info_t *obj);
|
||||
int INTERNAL(snd_ctl_elem_info_get_dimension)(const snd_ctl_elem_info_t *obj, unsigned int idx);
|
||||
#endif /* INTERNAL */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue