diff options
author | Stefan Weil <weil@mail.berlios.de> | 2010-09-23 21:28:05 +0200 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-10-03 06:34:51 +0000 |
commit | dde41332809f96b048b56eb670342238af4f20b5 (patch) | |
tree | 4a061bb5e911a88f914c106afd2a8c9ba9127835 /qemu-error.h | |
parent | bf000b0c7eb0ec1f45387c864dd5316c95be0275 (diff) | |
download | qemu-dde41332809f96b048b56eb670342238af4f20b5.tar.gz qemu-dde41332809f96b048b56eb670342238af4f20b5.tar.bz2 qemu-dde41332809f96b048b56eb670342238af4f20b5.zip |
Use GCC_FMT_ATTR (format checking)
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'qemu-error.h')
-rw-r--r-- | qemu-error.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-error.h b/qemu-error.h index 531ec63fee..4d5c53700e 100644 --- a/qemu-error.h +++ b/qemu-error.h @@ -30,7 +30,7 @@ void loc_set_none(void); void loc_set_cmdline(char **argv, int idx, int cnt); void loc_set_file(const char *fname, int lno); -void error_vprintf(const char *fmt, va_list ap); +void error_vprintf(const char *fmt, va_list ap) GCC_FMT_ATTR(1, 0); void error_printf(const char *fmt, ...) GCC_FMT_ATTR(1, 2); void error_printf_unless_qmp(const char *fmt, ...) GCC_FMT_ATTR(1, 2); void error_print_loc(void); |