summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-05 10:30:43 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-05 10:30:43 +0000
commit295e390fff4a8b585bde599b93e97e0f40e55f92 (patch)
tree3480fa3ad5b2665e4207292d99a3c9cc3e8db3de
parentMake audio_pcm_opsstatic const (diff)
downloadqemu-kvm-295e390fff4a8b585bde599b93e97e0f40e55f92.tar.gz
qemu-kvm-295e390fff4a8b585bde599b93e97e0f40e55f92.tar.bz2
qemu-kvm-295e390fff4a8b585bde599b93e97e0f40e55f92.zip
Move wav_start_capture prototype to avoid a warning with -Wmissing-prototypes
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5423 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--audio/audio.h3
-rw-r--r--monitor.c3
2 files changed, 3 insertions, 3 deletions
diff --git a/audio/audio.h b/audio/audio.h
index ae29b8a63..4b0e7a3a8 100644
--- a/audio/audio.h
+++ b/audio/audio.h
@@ -170,4 +170,7 @@ uint32_t lsbindex (uint32_t u);
#define audio_MAX(a, b) ((a)<(b)?(b):(a))
#endif
+int wav_start_capture (CaptureState *s, const char *path, int freq,
+ int bits, int nchannels);
+
#endif /* audio.h */
diff --git a/monitor.c b/monitor.c
index 038b2f9e4..4f51eccdc 100644
--- a/monitor.c
+++ b/monitor.c
@@ -1337,9 +1337,6 @@ static void do_stop_capture (int n)
}
#ifdef HAS_AUDIO
-int wav_start_capture (CaptureState *s, const char *path, int freq,
- int bits, int nchannels);
-
static void do_wav_capture (const char *path,
int has_freq, int freq,
int has_bits, int bits,