qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [5423] Move wav_start_capture prototype to avoid a warning


From: Blue Swirl
Subject: [Qemu-devel] [5423] Move wav_start_capture prototype to avoid a warning with -Wmissing-prototypes
Date: Sun, 05 Oct 2008 10:30:45 +0000

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
===================================================================
--- trunk/audio/audio.h 2008-10-05 10:01:05 UTC (rev 5422)
+++ trunk/audio/audio.h 2008-10-05 10:30:43 UTC (rev 5423)
@@ -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
===================================================================
--- trunk/monitor.c     2008-10-05 10:01:05 UTC (rev 5422)
+++ trunk/monitor.c     2008-10-05 10:30:43 UTC (rev 5423)
@@ -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,






reply via email to

[Prev in Thread] Current Thread [Next in Thread]