From: Carlo Marcelo Arenas Belon <carenas@sajinet.com.pe>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] add declaration for kqemu_cpu_interrupt to block-raw.c
Date: Sun, 11 Nov 2007 02:33:38 -0600 [thread overview]
Message-ID: <20071111083338.GA25322@tapir> (raw)
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 <sys/disk.h>
#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
next reply other threads:[~2007-11-11 8:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-11 8:33 Carlo Marcelo Arenas Belon [this message]
2007-11-11 11:43 ` [Qemu-devel] [PATCH] add declaration for kqemu_cpu_interrupt to block-raw.c Paul Brook
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071111083338.GA25322@tapir \
--to=carenas@sajinet.com.pe \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).