mirror of
https://github.com/mii443/qemu.git
synced 2025-12-09 22:18:23 +00: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:
@@ -57,7 +57,7 @@ static bool is_daemon;
|
||||
static bool get_version; /* IOC getversion IOCTL supported */
|
||||
static char *prog_name;
|
||||
|
||||
static void GCC_FMT_ATTR(2, 3) do_log(int loglevel, const char *format, ...)
|
||||
static void G_GNUC_PRINTF(2, 3) do_log(int loglevel, const char *format, ...)
|
||||
{
|
||||
va_list ap;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user