mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 23:03:54 -06:00
Use GCC_FMT_ATTR (format checking)
Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
e5924d8980
commit
8b7968f7c4
14 changed files with 25 additions and 16 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue