mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
conf: improve the include paths code
- various cleanups (more straight code and allocations) - do not add the base config path /usr/share/alsa to the explicit include list of directories (it's not wanted for ucm configs) Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
6598e38856
commit
f600310954
3 changed files with 46 additions and 57 deletions
|
|
@ -359,7 +359,7 @@ int snd_config_search_alias_hooks(snd_config_t *config,
|
|||
int _snd_conf_generic_id(const char *id);
|
||||
|
||||
int _snd_config_load_with_include(snd_config_t *config, snd_input_t *in,
|
||||
int override, char *default_include_path);
|
||||
int override, const char * const *default_include_path);
|
||||
|
||||
/* convenience macros */
|
||||
#define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0]))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue