mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
Use __inline__ for exported headers
Some programs are still using C90. Bugzilla: https://bugzilla.novell.com/show_bug.cgi?id=817077 Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
886f0cc3c2
commit
30122df4fa
5 changed files with 14 additions and 14 deletions
|
|
@ -354,7 +354,7 @@ int snd_use_case_mgr_reset(snd_use_case_mgr_t *uc_mgr);
|
|||
* \param list Returned allocated list
|
||||
* \return Number of list entries if success, otherwise a negative error code
|
||||
*/
|
||||
static inline int snd_use_case_card_list(const char **list[])
|
||||
static __inline__ int snd_use_case_card_list(const char **list[])
|
||||
{
|
||||
return snd_use_case_get_list(NULL, NULL, list);
|
||||
}
|
||||
|
|
@ -365,7 +365,7 @@ static inline int snd_use_case_card_list(const char **list[])
|
|||
* \param list Returned list of verbs
|
||||
* \return Number of list entries if success, otherwise a negative error code
|
||||
*/
|
||||
static inline int snd_use_case_verb_list(snd_use_case_mgr_t *uc_mgr,
|
||||
static __inline__ int snd_use_case_verb_list(snd_use_case_mgr_t *uc_mgr,
|
||||
const char **list[])
|
||||
{
|
||||
return snd_use_case_get_list(uc_mgr, "_verbs", list);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue