diff options
| author | Stefan Weil | 2010-10-13 20:54:27 +0200 |
|---|---|---|
| committer | Blue Swirl | 2010-10-22 19:11:33 +0200 |
| commit | 2c80e42395bfe0bf291c082f9399431e1ff9d758 (patch) | |
| tree | 3834351f8a6bccd34674889d46793cfe635149a0 /ui | |
| parent | Remove special handling of system include files (no longer needed) (diff) | |
| download | qemu-2c80e42395bfe0bf291c082f9399431e1ff9d758.tar.gz qemu-2c80e42395bfe0bf291c082f9399431e1ff9d758.tar.xz qemu-2c80e42395bfe0bf291c082f9399431e1ff9d758.zip | |
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 'ui')
| -rw-r--r-- | ui/spice-display.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/spice-display.c b/ui/spice-display.c index 6702dfd7ea..7b4f5c1bc9 100644 --- a/ui/spice-display.c +++ b/ui/spice-display.c @@ -29,8 +29,7 @@ static int debug = 0; -static void __attribute__((format(printf,2,3))) -dprint(int level, const char *fmt, ...) +static void GCC_FMT_ATTR(2, 3) dprint(int level, const char *fmt, ...) { va_list args; |
