aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sound/pcm/buffer.c
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2006-07-17 17:43:06 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2006-07-17 17:43:06 +0000
commitd55d96f61724d948b8232f933e0a93c5ba8aec6b (patch)
tree97a302b472e6fa20ea03d05a1d95e84098332ded /sys/dev/sound/pcm/buffer.c
parent4002c39216ef9396cae0e63d628b7019c6ed346d (diff)
downloadsrc-d55d96f61724d948b8232f933e0a93c5ba8aec6b.tar.gz
src-d55d96f61724d948b8232f933e0a93c5ba8aec6b.zip
Rename some variables. This fixes some (but not all) problems on the way
for WARNS > 2 cleanlyness. Submitted by: Yuriy Tsibizov <Yuriy.Tsibizov@gfk.ru>
Notes
Notes: svn path=/head/; revision=160439
Diffstat (limited to 'sys/dev/sound/pcm/buffer.c')
-rw-r--r--sys/dev/sound/pcm/buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sound/pcm/buffer.c b/sys/dev/sound/pcm/buffer.c
index b8570f7ad02a..0be87415b5f6 100644
--- a/sys/dev/sound/pcm/buffer.c
+++ b/sys/dev/sound/pcm/buffer.c
@@ -399,11 +399,11 @@ sndbuf_getxrun(struct snd_dbuf *b)
}
void
-sndbuf_setxrun(struct snd_dbuf *b, unsigned int cnt)
+sndbuf_setxrun(struct snd_dbuf *b, unsigned int xrun)
{
SNDBUF_LOCKASSERT(b);
- b->xrun = cnt;
+ b->xrun = xrun;
}
unsigned int