aboutsummaryrefslogtreecommitdiffstats
path: root/alsa-pcm.c
diff options
context:
space:
mode:
authorMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-09-23 22:03:30 +1000
committerMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-10-26 17:27:35 +1100
commit6c5c0d66a792ecbbf92538a7822b62a36710a341 (patch)
treeb27d603bb3cf4160384c29cec921ff08d786b201 /alsa-pcm.c
parent329a6c0e00cc58e4faceaa0ef4abd3aeb50fb2d5 (diff)
Make pcm_ack static
Add missing static declaration to pcm_ack callback function Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
Diffstat (limited to 'alsa-pcm.c')
-rw-r--r--alsa-pcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/alsa-pcm.c b/alsa-pcm.c
index 798f76c..21287ee 100644
--- a/alsa-pcm.c
+++ b/alsa-pcm.c
@@ -350,7 +350,7 @@ static int pcm_copy_kernel(struct snd_pcm_substream *substream, int channel,
* Returns 0 on success or error code otherwise.
*
*/
-int pcm_ack(struct snd_pcm_substream *substream)
+static int pcm_ack(struct snd_pcm_substream *substream)
{
DO_AUDIOPATH_CB(((struct avirt_audiopath *)substream->private_data),
ack, substream);