Revision 2c80e423
b/cpu-all.h | ||
---|---|---|
773 | 773 |
int flags); |
774 | 774 |
|
775 | 775 |
void QEMU_NORETURN cpu_abort(CPUState *env, const char *fmt, ...) |
776 |
__attribute__ ((__format__ (__printf__, 2, 3)));
|
|
776 |
GCC_FMT_ATTR(2, 3);
|
|
777 | 777 |
extern CPUState *first_cpu; |
778 | 778 |
extern CPUState *cpu_single_env; |
779 | 779 |
|
b/ui/spice-display.c | ||
---|---|---|
29 | 29 |
|
30 | 30 |
static int debug = 0; |
31 | 31 |
|
32 |
static void __attribute__((format(printf,2,3))) |
|
33 |
dprint(int level, const char *fmt, ...) |
|
32 |
static void GCC_FMT_ATTR(2, 3) dprint(int level, const char *fmt, ...) |
|
34 | 33 |
{ |
35 | 34 |
va_list args; |
36 | 35 |
|
Also available in: Unified diff