diff options
author | Takashi Iwai <tiwai@suse.de> | 2007-07-17 18:23:05 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2007-07-17 18:23:05 +0200 |
commit | b96d25a04a4e93d2bf9313b86d5e30dff608a5af (patch) | |
tree | 9e43999e43d9f8a3c1505c0c2f657acb1700a0cf | |
parent | 4e3e38322033b63d8b468319047e7a2a4826571c (diff) | |
download | salsa-lib-b96d25a04a4e93d2bf9313b86d5e30dff608a5af.tar.gz |
Move snd_config_update_free_global() to global.h
-rw-r--r-- | src/conf.h | 6 | ||||
-rw-r--r-- | src/global.h | 7 |
2 files changed, 8 insertions, 5 deletions
@@ -69,11 +69,7 @@ int snd_config_update_free(snd_config_update_t *update) return 0; } -static inline -int snd_config_update_free_global(void) -{ - return 0; -} +/* snd_config_update_free_global is defined in global.h */ static inline __SALSA_NOT_IMPLEMENTED int snd_config_search(snd_config_t *config, const char *key, diff --git a/src/global.h b/src/global.h index 1855972..a68da07 100644 --- a/src/global.h +++ b/src/global.h @@ -92,4 +92,11 @@ int snd_async_del_handler(snd_async_handler_t *handler) /* only for internal use */ int _snd_set_nonblock(int fd, int nonblock); +/* the global function defined here */ +static inline +int snd_config_update_free_global(void) +{ + return 0; +} + #endif /* __ALSA_GLOBAL_H */ |