aboutsummaryrefslogtreecommitdiff
path: root/darwin-user/qemu.h
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2010-11-15 21:00:48 +0100
committerBlue Swirl <blauwirbel@gmail.com>2010-12-04 20:51:19 +0000
commitedcdd562baff02bb8de974c46a2b984b7d5b0da9 (patch)
tree8a7b66ec436d15bf94be6a97416fb32d8f1582aa /darwin-user/qemu.h
parentab9de3692e34dc874ce44c7905590ef98445ce33 (diff)
darwin-user: Use GCC_FMT_ATTR (format checking)
The redundant forward declaration of qerror in machload.c is removed because it should be taken from qemu.h. Please note that this patch is untested because I have no matching environment to compile it. Cc: Blue Swirl <blauwirbel@gmail.com> Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'darwin-user/qemu.h')
-rw-r--r--darwin-user/qemu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/darwin-user/qemu.h b/darwin-user/qemu.h
index 0c5081ba32..b6d3e6cbf0 100644
--- a/darwin-user/qemu.h
+++ b/darwin-user/qemu.h
@@ -100,7 +100,7 @@ int do_sigaction(int sig, const struct sigaction *act,
int do_sigaltstack(const struct sigaltstack *ss, struct sigaltstack *oss);
void gemu_log(const char *fmt, ...) GCC_FMT_ATTR(1, 2);
-void qerror(const char *fmt, ...);
+void qerror(const char *fmt, ...) GCC_FMT_ATTR(1, 2);
void write_dt(void *ptr, unsigned long addr, unsigned long limit, int flags);