From af1e3c3a7417e21b10d958891ef2b456c3b601ae Mon Sep 17 00:00:00 2001 From: Chih-Wei Huang Date: Sun, 26 Oct 2014 02:03:00 +0800 Subject: [PATCH] Fix the building issues on Android 5.0 The link warning will be treated as an error. --- src/pcm/pcm.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/pcm/pcm.c b/src/pcm/pcm.c index fc641d3e..592a6fbf 100644 --- a/src/pcm/pcm.c +++ b/src/pcm/pcm.c @@ -941,9 +941,6 @@ int snd_pcm_hwsync(snd_pcm_t *pcm) } return pcm->fast_ops->hwsync(pcm->fast_op_arg); } -#ifndef DOC_HIDDEN -link_warning(snd_pcm_hwsync, "Warning: snd_pcm_hwsync() is deprecated, consider to use snd_pcm_avail()"); -#endif /** * \brief Obtain delay for a running PCM handle -- 2.11.0