mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
Replace GCC_FMT_ATTR with G_GNUC_PRINTF
One less qemu-specific macro. It also helps to make some headers/units only depend on glib, and thus moved in standalone projects eventually. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Richard W.M. Jones <rjones@redhat.com>
This commit is contained in:
parent
e7b7942822
commit
9edc6313da
58 changed files with 130 additions and 137 deletions
|
@ -9,7 +9,7 @@
|
|||
bool xen_igd_gfx_pt_enabled(void);
|
||||
void xen_igd_gfx_pt_set(bool value, Error **errp);
|
||||
|
||||
void xen_pt_log(const PCIDevice *d, const char *f, ...) GCC_FMT_ATTR(2, 3);
|
||||
void xen_pt_log(const PCIDevice *d, const char *f, ...) G_GNUC_PRINTF(2, 3);
|
||||
|
||||
#define XEN_PT_ERR(d, _f, _a...) xen_pt_log(d, "%s: Error: "_f, __func__, ##_a)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue