qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] Move function declaration from C source to header f


From: Stefan Weil
Subject: [Qemu-devel] [PATCH] Move function declaration from C source to header file
Date: Sun, 01 Jun 2008 21:01:33 +0200
User-agent: Mozilla-Thunderbird 2.0.0.14 (X11/20080509)

This patch moves the declaration for function wav_start_capture from
C source to the header file.

Please apply the patch to Qemu trunk.

Thanks,
Stefan

Index: audio/audio.h
===================================================================
--- audio/audio.h       (revision 4638)
+++ audio/audio.h       (working copy)
@@ -87,6 +87,9 @@
     uint64_t old_ts;
 } QEMUAudioTimeStamp;
 
+int wav_start_capture (CaptureState *s, const char *path, int freq,
+                       int bits, int nchannels);
+
 void AUD_vlog (const char *cap, const char *fmt, va_list ap);
 void AUD_log (const char *cap, const char *fmt, ...)
 #ifdef __GNUC__
Index: monitor.c
===================================================================
--- monitor.c   (revision 4638)
+++ monitor.c   (working copy)
@@ -1264,9 +1264,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]