diff options
author | Juan Quintela <quintela@redhat.com> | 2009-08-11 02:31:15 +0200 |
---|---|---|
committer | malc <av1474@comtv.ru> | 2009-08-11 20:51:24 +0400 |
commit | 1dd3e4d13d0d59de61de518c9e504cb444782510 (patch) | |
tree | 3cff62b8d75f2548720f3dfa17aed7ade86af468 /audio/noaudio.c | |
parent | 2700efa3236d20879473d6b9c612f882a1b43dda (diff) | |
download | qemu-1dd3e4d13d0d59de61de518c9e504cb444782510.tar.gz qemu-1dd3e4d13d0d59de61de518c9e504cb444782510.tar.bz2 qemu-1dd3e4d13d0d59de61de518c9e504cb444782510.zip |
use C99 initializers for audio_pcm_ops
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'audio/noaudio.c')
-rw-r--r-- | audio/noaudio.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/audio/noaudio.c b/audio/noaudio.c index 1a7529aa6b..40a1a2fee0 100644 --- a/audio/noaudio.c +++ b/audio/noaudio.c @@ -146,17 +146,17 @@ static void no_audio_fini (void *opaque) } static struct audio_pcm_ops no_pcm_ops = { - no_init_out, - no_fini_out, - no_run_out, - no_write, - no_ctl_out, - - no_init_in, - no_fini_in, - no_run_in, - no_read, - no_ctl_in + .init_out = no_init_out, + .fini_out = no_fini_out, + .run_out = no_run_out, + .write = no_write, + .ctl_out = no_ctl_out, + + .init_in = no_init_in, + .fini_in = no_fini_in, + .run_in = no_run_in, + .read = no_read, + .ctl_in = no_ctl_in }; struct audio_driver no_audio_driver = { |