]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/net/rocker/rocker.h
Replace GCC_FMT_ATTR with G_GNUC_PRINTF
[mirror_qemu.git] / hw / net / rocker / rocker.h
index 412fa44d017143b4f21a20bb4612400aefff4494..f85354d9d1368f34d918674335e8a52da92824c1 100644 (file)
@@ -30,7 +30,7 @@
         fprintf(stderr, "%s ROCKER: " fmt, nowstr, ## __VA_ARGS__);\
     } while (0)
 #else
-static inline GCC_FMT_ATTR(1, 2) int DPRINTF(const char *fmt, ...)
+static inline G_GNUC_PRINTF(1, 2) int DPRINTF(const char *fmt, ...)
 {
     return 0;
 }