From ca8c0059f3e86eb178733d7fa9a8b0ba20d9c2ca Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 12 Jun 2022 19:26:00 +0200 Subject: Fix warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libsimple.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libsimple.c') diff --git a/libsimple.c b/libsimple.c index 3380e29..2cf7b62 100644 --- a/libsimple.c +++ b/libsimple.c @@ -70,6 +70,7 @@ test_timeval(double d, time_t sec, long int usec, double rd, const char *s, cons } #ifdef libsimple_vasprintfa +LIBSIMPLE_GCC_ONLY__(__attribute__((__format__(__printf__, 2, 0)))) static int test_vasprintfa(const char *expected, const char *format, ...) { -- cgit v1.2.3-70-g09d2