tests: properly tag ok as being printf-like

Avoids breaking warning with clang

Fixes #478

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
This commit is contained in:
Marc-Antoine Perennou
2022-03-18 10:25:51 +01:00
parent a362d3c0ee
commit 08dc2bb546

View File

@@ -25,6 +25,8 @@
/* A small implementation of TAP */
static unsigned int test_number = 0;
__attribute__((format(printf, 1, 2)))
static void
ok (const char *format, ...)
{