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:
@@ -25,6 +25,8 @@
|
|||||||
|
|
||||||
/* A small implementation of TAP */
|
/* A small implementation of TAP */
|
||||||
static unsigned int test_number = 0;
|
static unsigned int test_number = 0;
|
||||||
|
|
||||||
|
__attribute__((format(printf, 1, 2)))
|
||||||
static void
|
static void
|
||||||
ok (const char *format, ...)
|
ok (const char *format, ...)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user