diff options
author | Stefan Weil <weil@mail.berlios.de> | 2010-10-13 20:54:27 +0200 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-10-22 17:11:33 +0000 |
commit | 2c80e42395bfe0bf291c082f9399431e1ff9d758 (patch) | |
tree | 3834351f8a6bccd34674889d46793cfe635149a0 /cpu-all.h | |
parent | 47b01cf3a16b9526f99084e99de13dfd9072882e (diff) | |
download | qemu-2c80e42395bfe0bf291c082f9399431e1ff9d758.zip qemu-2c80e42395bfe0bf291c082f9399431e1ff9d758.tar.gz qemu-2c80e42395bfe0bf291c082f9399431e1ff9d758.tar.bz2 |
Replace remaining gcc format attributes by macro GCC_FMT_ATTR (format checking)
Replace the remaining format attribute printf by macro
GCC_FMT_ATTR which uses gnu_printf (if supported).
v2
* Removal of dyngen specific code is now done in a separate patch.
* Handle attribute in new ui/spice-display.c, too.
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 'cpu-all.h')
-rw-r--r-- | cpu-all.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -773,7 +773,7 @@ void cpu_dump_statistics (CPUState *env, FILE *f, int flags); void QEMU_NORETURN cpu_abort(CPUState *env, const char *fmt, ...) - __attribute__ ((__format__ (__printf__, 2, 3))); + GCC_FMT_ATTR(2, 3); extern CPUState *first_cpu; extern CPUState *cpu_single_env; |