aboutsummaryrefslogtreecommitdiff
path: root/hw/ac97.c
diff options
context:
space:
mode:
authormalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-03 22:48:44 +0000
committermalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-03 22:48:44 +0000
commit1ea879e5580f63414693655fcf0328559cdce138 (patch)
tree45f2e4d57a73fd269004d1a32aeb450ad4881c13 /hw/ac97.c
parent8b0de438d4c814fc2d7d1330a146a2e1cb8877b2 (diff)
downloadqemu-1ea879e5580f63414693655fcf0328559cdce138.zip
qemu-1ea879e5580f63414693655fcf0328559cdce138.tar.gz
qemu-1ea879e5580f63414693655fcf0328559cdce138.tar.bz2
Make audio violate POSIX less
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5864 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/ac97.c')
-rw-r--r--hw/ac97.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ac97.c b/hw/ac97.c
index 55c65df..c30e894 100644
--- a/hw/ac97.c
+++ b/hw/ac97.c
@@ -354,7 +354,7 @@ static uint16_t mixer_load (AC97LinkState *s, uint32_t i)
static void open_voice (AC97LinkState *s, int index, int freq)
{
- audsettings_t as;
+ struct audsettings as;
as.freq = freq;
as.nchannels = 2;