mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-12-15 08:56:36 -05:00
Fix compile with gcc-4.0
Fixed compilation with gcc-4.0.
This commit is contained in:
parent
e87851b96f
commit
ad0b348227
1 changed files with 2 additions and 2 deletions
|
|
@ -2498,6 +2498,8 @@ int snd_config_search_alias(snd_config_t *config,
|
||||||
snd_config_searcha, snd_config_searchva);
|
snd_config_searcha, snd_config_searchva);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static int snd_config_hooks(snd_config_t *config, snd_config_t *private_data);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Searches for a node in a configuration tree and expands hooks.
|
* \brief Searches for a node in a configuration tree and expands hooks.
|
||||||
* \param config Handle to the root of the configuration (sub)tree to search.
|
* \param config Handle to the root of the configuration (sub)tree to search.
|
||||||
|
|
@ -2508,7 +2510,6 @@ int snd_config_search_alias(snd_config_t *config,
|
||||||
*/
|
*/
|
||||||
int snd_config_search_hooks(snd_config_t *config, const char *key, snd_config_t **result)
|
int snd_config_search_hooks(snd_config_t *config, const char *key, snd_config_t **result)
|
||||||
{
|
{
|
||||||
static int snd_config_hooks(snd_config_t *config, snd_config_t *private_data);
|
|
||||||
SND_CONFIG_SEARCH(config, key, result, \
|
SND_CONFIG_SEARCH(config, key, result, \
|
||||||
err = snd_config_hooks(config, NULL); \
|
err = snd_config_hooks(config, NULL); \
|
||||||
if (err < 0) \
|
if (err < 0) \
|
||||||
|
|
@ -2528,7 +2529,6 @@ int snd_config_search_hooks(snd_config_t *config, const char *key, snd_config_t
|
||||||
*/
|
*/
|
||||||
int snd_config_searcha_hooks(snd_config_t *root, snd_config_t *config, const char *key, snd_config_t **result)
|
int snd_config_searcha_hooks(snd_config_t *root, snd_config_t *config, const char *key, snd_config_t **result)
|
||||||
{
|
{
|
||||||
static int snd_config_hooks(snd_config_t *config, snd_config_t *private_data);
|
|
||||||
SND_CONFIG_SEARCHA(root, config, key, result,
|
SND_CONFIG_SEARCHA(root, config, key, result,
|
||||||
snd_config_searcha_hooks,
|
snd_config_searcha_hooks,
|
||||||
err = snd_config_hooks(config, NULL); \
|
err = snd_config_hooks(config, NULL); \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue