aboutsummaryrefslogtreecommitdiff
path: root/tests/tap/string.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tap/string.h')
-rw-r--r--tests/tap/string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tap/string.h b/tests/tap/string.h
index cc51945..d58f75d 100644
--- a/tests/tap/string.h
+++ b/tests/tap/string.h
@@ -42,7 +42,7 @@ BEGIN_DECLS
void basprintf(char **, const char *, ...)
__attribute__((__nonnull__, __format__(printf, 2, 3)));
void bvasprintf(char **, const char *, va_list)
- __attribute__((__nonnull__));
+ __attribute__((__nonnull__, __format__(printf, 2, 0)));
END_DECLS