mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-05 13:30:00 -05:00
Make local functions really local
Rename the local functions to snd1_* so that they won't be exported out of alsa-lib. Some functions are still kept because aserver requires them. Sigh.
This commit is contained in:
parent
e68bd91cf9
commit
7dca3ab1ea
9 changed files with 324 additions and 0 deletions
|
|
@ -89,6 +89,9 @@ struct _snd_hctl {
|
|||
};
|
||||
|
||||
|
||||
/* make local functions really local */
|
||||
#define snd_ctl_new snd1_ctl_new
|
||||
|
||||
int snd_ctl_new(snd_ctl_t **ctlp, snd_ctl_type_t type, const char *name);
|
||||
int _snd_ctl_poll_descriptor(snd_ctl_t *ctl);
|
||||
#define _snd_ctl_async_descriptor _snd_ctl_poll_descriptor
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue