aboutsummaryrefslogtreecommitdiff
path: root/hw/net/rocker/rocker.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/net/rocker/rocker.h')
-rw-r--r--hw/net/rocker/rocker.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/rocker/rocker.h b/hw/net/rocker/rocker.h
index 412fa44d01..f85354d9d1 100644
--- a/hw/net/rocker/rocker.h
+++ b/hw/net/rocker/rocker.h
@@ -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;
}