diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2022-02-20 20:39:25 +0400 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2022-03-22 14:40:51 +0400 |
commit | 9edc6313da34699ebd2bae4573ea22339b26450a (patch) | |
tree | c04eb27a7ce157789496b078b824c8eae8ddba05 /hw/xen/xen_pt.h | |
parent | e7b794282264868d84b3d9a5da222b08a783d8fb (diff) | |
download | qemu-9edc6313da34699ebd2bae4573ea22339b26450a.zip qemu-9edc6313da34699ebd2bae4573ea22339b26450a.tar.gz qemu-9edc6313da34699ebd2bae4573ea22339b26450a.tar.bz2 |
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>
Diffstat (limited to 'hw/xen/xen_pt.h')
-rw-r--r-- | hw/xen/xen_pt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xen/xen_pt.h b/hw/xen/xen_pt.h index c74c467..6b8e13c 100644 --- a/hw/xen/xen_pt.h +++ b/hw/xen/xen_pt.h @@ -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) |