aboutsummaryrefslogtreecommitdiff
path: root/include/pcm.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2007-12-21 15:25:47 +0100
committerTakashi Iwai <tiwai@suse.de>2007-12-21 15:25:47 +0100
commit173d8a8b58c4c02c354cdcab1d8de2f6a8a27a75 (patch)
tree32b27248ce00bf09a0300ba2027ff87d4e369733 /include/pcm.h
parent7562320e3b0d6a165dfb0a8c1783223f7531c37f (diff)
Add deprecated attribute to obsolete functions
Added __attribute__((deprecated)) to declarations of obsolete functions.
Diffstat (limited to 'include/pcm.h')
-rw-r--r--include/pcm.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/pcm.h b/include/pcm.h
index 268a902e..f72b39cb 100644
--- a/include/pcm.h
+++ b/include/pcm.h
@@ -1097,12 +1097,12 @@ int snd_spcm_init_get_params(snd_pcm_t *pcm,
*/
/* Deprecated functions, for compatibility */
-const char *snd_pcm_start_mode_name(snd_pcm_start_t mode);
-const char *snd_pcm_xrun_mode_name(snd_pcm_xrun_t mode);
-int snd_pcm_sw_params_set_start_mode(snd_pcm_t *pcm, snd_pcm_sw_params_t *params, snd_pcm_start_t val);
-snd_pcm_start_t snd_pcm_sw_params_get_start_mode(const snd_pcm_sw_params_t *params);
-int snd_pcm_sw_params_set_xrun_mode(snd_pcm_t *pcm, snd_pcm_sw_params_t *params, snd_pcm_xrun_t val);
-snd_pcm_xrun_t snd_pcm_sw_params_get_xrun_mode(const snd_pcm_sw_params_t *params);
+const char *snd_pcm_start_mode_name(snd_pcm_start_t mode) __attribute__((deprecated));
+const char *snd_pcm_xrun_mode_name(snd_pcm_xrun_t mode) __attribute__((deprecated));
+int snd_pcm_sw_params_set_start_mode(snd_pcm_t *pcm, snd_pcm_sw_params_t *params, snd_pcm_start_t val) __attribute__((deprecated));
+snd_pcm_start_t snd_pcm_sw_params_get_start_mode(const snd_pcm_sw_params_t *params) __attribute__((deprecated));
+int snd_pcm_sw_params_set_xrun_mode(snd_pcm_t *pcm, snd_pcm_sw_params_t *params, snd_pcm_xrun_t val) __attribute__((deprecated));
+snd_pcm_xrun_t snd_pcm_sw_params_get_xrun_mode(const snd_pcm_sw_params_t *params) __attribute__((deprecated));
/** \} */