diff options
author | Marc-André Lureau | 2022-02-20 17:39:25 +0100 |
---|---|---|
committer | Marc-André Lureau | 2022-03-22 11:40:51 +0100 |
commit | 9edc6313da34699ebd2bae4573ea22339b26450a (patch) | |
tree | c04eb27a7ce157789496b078b824c8eae8ddba05 /softmmu | |
parent | Drop qemu_foo() socket API wrapper (diff) | |
download | qemu-9edc6313da34699ebd2bae4573ea22339b26450a.tar.gz qemu-9edc6313da34699ebd2bae4573ea22339b26450a.tar.xz qemu-9edc6313da34699ebd2bae4573ea22339b26450a.zip |
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 'softmmu')
-rw-r--r-- | softmmu/qtest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/softmmu/qtest.c b/softmmu/qtest.c index 8b7cb6aa8e..cc586233a9 100644 --- a/softmmu/qtest.c +++ b/softmmu/qtest.c @@ -288,7 +288,7 @@ static void qtest_send_prefix(CharBackend *chr) (long) tv.tv_sec, (long) tv.tv_usec); } -static void GCC_FMT_ATTR(1, 2) qtest_log_send(const char *fmt, ...) +static void G_GNUC_PRINTF(1, 2) qtest_log_send(const char *fmt, ...) { va_list ap; @@ -318,7 +318,7 @@ static void qtest_send(CharBackend *chr, const char *str) qtest_server_send(qtest_server_send_opaque, str); } -static void GCC_FMT_ATTR(2, 3) qtest_sendf(CharBackend *chr, +static void G_GNUC_PRINTF(2, 3) qtest_sendf(CharBackend *chr, const char *fmt, ...) { va_list ap; |