aboutsummaryrefslogtreecommitdiff
path: root/hw/pcspk.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/pcspk.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/pcspk.c')
-rw-r--r--hw/pcspk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pcspk.c b/hw/pcspk.c
index 9bb248b..ec1d0c6 100644
--- a/hw/pcspk.c
+++ b/hw/pcspk.c
@@ -99,7 +99,7 @@ static void pcspk_callback(void *opaque, int free)
int pcspk_audio_init(AudioState *audio, qemu_irq *pic)
{
PCSpkState *s = &pcspk_state;
- audsettings_t as = {PCSPK_SAMPLE_RATE, 1, AUD_FMT_U8, 0};
+ struct audsettings as = {PCSPK_SAMPLE_RATE, 1, AUD_FMT_U8, 0};
if (!audio) {
AUD_log(s_spk, "No audio state\n");