aboutsummaryrefslogtreecommitdiff
path: root/audio/wavaudio.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-05 10:01:05 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-05 10:01:05 +0000
commit8869defe624e939a35309deee24f82cf2283d3e8 (patch)
tree731ec79e469eb76896ef168c2fd71193d9e10e64 /audio/wavaudio.c
parentd4a9eb1fc6fff9346963ef67629d1b232f01789c (diff)
Make audio_pcm_opsstatic const
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5422 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'audio/wavaudio.c')
-rw-r--r--audio/wavaudio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/wavaudio.c b/audio/wavaudio.c
index ea7c6a8c36..85575bd372 100644
--- a/audio/wavaudio.c
+++ b/audio/wavaudio.c
@@ -218,7 +218,7 @@ static void wav_audio_fini (void *opaque)
ldebug ("wav_fini");
}
-struct audio_option wav_options[] = {
+static struct audio_option wav_options[] = {
{"FREQUENCY", AUD_OPT_INT, &conf.settings.freq,
"Frequency", NULL, 0},
@@ -233,7 +233,7 @@ struct audio_option wav_options[] = {
{NULL, 0, NULL, NULL, NULL, 0}
};
-struct audio_pcm_ops wav_pcm_ops = {
+static const struct audio_pcm_ops wav_pcm_ops = {
wav_init_out,
wav_fini_out,
wav_run_out,