From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K2soF-0001Us-TZ for qemu-devel@nongnu.org; Sun, 01 Jun 2008 15:01:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K2soE-0001Tg-DR for qemu-devel@nongnu.org; Sun, 01 Jun 2008 15:01:39 -0400 Received: from [199.232.76.173] (port=56183 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K2soD-0001TP-P2 for qemu-devel@nongnu.org; Sun, 01 Jun 2008 15:01:38 -0400 Received: from moutng.kundenserver.de ([212.227.126.187]:58313) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K2soC-0003kx-5n for qemu-devel@nongnu.org; Sun, 01 Jun 2008 15:01:36 -0400 Message-ID: <4842F20D.2070006@mail.berlios.de> Date: Sun, 01 Jun 2008 21:01:33 +0200 From: Stefan Weil MIME-Version: 1.0 Subject: [Qemu-devel] [PATCH] Move function declaration from C source to header file Content-Type: multipart/mixed; boundary="------------030506010009060609010508" Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU Developers This is a multi-part message in MIME format. --------------030506010009060609010508 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit 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 --------------030506010009060609010508 Content-Type: text/x-diff; name="audio.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="audio.patch" 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, --------------030506010009060609010508--