mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -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
|
@ -34,7 +34,7 @@
|
|||
#define QEMU_BUILD_BUG_ON(x) \
|
||||
typedef char cat2(qemu_build_bug_on__,__LINE__)[(x)?-1:1] __attribute__((unused));
|
||||
|
||||
#define GCC_FMT_ATTR(n, m) __attribute__((format(gnu_printf, n, m)))
|
||||
#define G_GNUC_PRINTF(n, m) __attribute__((format(gnu_printf, n, m)))
|
||||
|
||||
#define xglue(x, y) x ## y
|
||||
#define glue(x, y) xglue(x, y)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue