Skip to contentSkip to conversation

[5423] Move wav_start_capture prototype to avoid a warning with -Wmissing-prototypes

Qemu-devel Blue Swirl 1 participant 1 message Oct 5, 2008

lore
Share & tools
lore

Blue Swirl

author
#0 lore raw

Revision: 5423

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5423
Author:   blueswir1
Date:     2008-10-05 10:30:43 +0000 (Sun, 05 Oct 2008)

Log Message:
-----------
Move wav_start_capture prototype to avoid a warning with -Wmissing-prototypes

Modified Paths:
--------------
trunk/audio/audio.h
trunk/monitor.c

Modified: trunk/audio/audio.h
===================================================================

audio/audio.h +3 -0
@@ -170,4 +170,7 @@
 #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 */

Modified: trunk/monitor.c
===================================================================

monitor.c +0 -3
@@ -1337,9 +1337,6 @@
 }
 
 #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,