OSDN Git Service

Fix the building issues on Android 5.0
authorChih-Wei Huang <cwhuang@linux.org.tw>
Sat, 25 Oct 2014 18:03:00 +0000 (02:03 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 5 Nov 2014 16:19:39 +0000 (00:19 +0800)
The link warning will be treated as an error.

src/pcm/pcm.c

index fc641d3..592a6fb 100644 (file)
@@ -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