aboutsummaryrefslogtreecommitdiffstats
path: root/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test.c')
-rw-r--r--test.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test.c b/test.c
index 3b1f559..412bd63 100644
--- a/test.c
+++ b/test.c
@@ -330,6 +330,9 @@ vfprintf(FILE *restrict stream, const char *restrict format, va_list ap)
}
+#if defined(__GNUC__)
+__attribute__((__format__(__printf__, 2, 0)))
+#endif
int
test_vfprintf(FILE *restrict stream, const char *restrict format, va_list ap)
{