diff options
author | David 'Digit' Turner <digit@android.com> | 2011-05-09 17:08:24 +0200 |
---|---|---|
committer | David 'Digit' Turner <digit@android.com> | 2011-06-01 17:08:17 +0200 |
commit | 488bfd506a283c648f559140f51f125847d68664 (patch) | |
tree | e5ba3fff5e45a232df4002121c00cfef26908e39 /qemu-error.h | |
parent | 1646b4eb23bb788e9398583c442db9b70a85921a (diff) | |
download | external_qemu-488bfd506a283c648f559140f51f125847d68664.zip external_qemu-488bfd506a283c648f559140f51f125847d68664.tar.gz external_qemu-488bfd506a283c648f559140f51f125847d68664.tar.bz2 |
qemu-error: minor integrate
Change-Id: Ic6bc807b98e4dba0f2fcba046cd9a91a5d96f2cb
Diffstat (limited to 'qemu-error.h')
-rw-r--r-- | qemu-error.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/qemu-error.h b/qemu-error.h index a45609f..4d5c537 100644 --- a/qemu-error.h +++ b/qemu-error.h @@ -30,12 +30,11 @@ 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_printf(const char *fmt, ...) __attribute__ ((format(printf, 1, 2))); -void error_printf_unless_qmp(const char *fmt, ...) - __attribute__ ((format(printf, 1, 2))); +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); void error_set_progname(const char *argv0); -void error_report(const char *fmt, ...) __attribute__ ((format(printf, 1, 2))); +void error_report(const char *fmt, ...) GCC_FMT_ATTR(1, 2); #endif |