From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ir8Bn-0007aO-6s for qemu-devel@nongnu.org; Sun, 11 Nov 2007 03:29:07 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ir8Bl-0007ZG-E8 for qemu-devel@nongnu.org; Sun, 11 Nov 2007 03:29:06 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ir8Bl-0007ZD-7E for qemu-devel@nongnu.org; Sun, 11 Nov 2007 03:29:05 -0500 Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ir8Bk-0004tY-LE for qemu-devel@nongnu.org; Sun, 11 Nov 2007 03:29:04 -0500 Received: from tapir.sajinet.com.pe ([66.139.79.212]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ir8Bg-0001YU-Ni for qemu-devel@nongnu.org; Sun, 11 Nov 2007 03:29:01 -0500 Date: Sun, 11 Nov 2007 02:33:38 -0600 From: Carlo Marcelo Arenas Belon Message-ID: <20071111083338.GA25322@tapir> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] [PATCH] add declaration for kqemu_cpu_interrupt to block-raw.c Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org The following patch includes "exec-all.h" in block-raw.c when QEMU_IMG is not defined to avoid the following implicit declaration : qemu/block-raw.c: In function `aio_signal_handler': qemu/block-raw.c:253: warning: implicit declaration of function `kqemu_cpu_interrupt' Carlo -- Index: block-raw.c =================================================================== RCS file: /sources/qemu/qemu/block-raw.c,v retrieving revision 1.26 diff -u -r1.26 block-raw.c --- block-raw.c 11 Nov 2007 02:51:16 -0000 1.26 +++ block-raw.c 11 Nov 2007 08:10:05 -0000 @@ -57,11 +57,13 @@ #include #endif -//#define DEBUG_FLOPPY +#if !defined(QEMU_IMG) +#include "exec-all.h" +#endif +//#define DEBUG_FLOPPY //#define DEBUG_BLOCK -#if defined(DEBUG_BLOCK) && !defined(QEMU_IMG) -#include "exec-all.h" +#if defined(DEBUG_BLOCK) #define DEBUG_BLOCK_PRINT(formatCstr, args...) do { if (loglevel != 0) \ { fprintf(logfile, formatCstr, ##args); fflush(logfile); } } while (0) #else