aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2007-07-17 18:23:05 +0200
committerTakashi Iwai <tiwai@suse.de>2007-07-17 18:23:05 +0200
commitb96d25a04a4e93d2bf9313b86d5e30dff608a5af (patch)
tree9e43999e43d9f8a3c1505c0c2f657acb1700a0cf
parent4e3e38322033b63d8b468319047e7a2a4826571c (diff)
downloadsalsa-lib-b96d25a04a4e93d2bf9313b86d5e30dff608a5af.tar.gz
Move snd_config_update_free_global() to global.h
-rw-r--r--src/conf.h6
-rw-r--r--src/global.h7
2 files changed, 8 insertions, 5 deletions
diff --git a/src/conf.h b/src/conf.h
index f6e4441..83a077f 100644
--- a/src/conf.h
+++ b/src/conf.h
@@ -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 */