X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib/blobdiff_plain/bca75e8d0ad7ce51192de3ef053ec63d0c79cfaa..31d0247cc58abc0b0720aa7e9972011c5a66995c:/struct/t/dstr-putf-test.c diff --git a/struct/t/dstr-putf-test.c b/struct/t/dstr-putf-test.c index 044da71..13fe155 100644 --- a/struct/t/dstr-putf-test.c +++ b/struct/t/dstr-putf-test.c @@ -18,7 +18,7 @@ static char strbuf[1024]; #define TESTGROUP(name) TVEC_TESTGROUP_TAG(grp, &tvstate, name) -static int PRINTF_LIKE(1, 2) format(const char *fmt, ...) +static PRINTF_LIKE(1, 2) int format(const char *fmt, ...) { va_list ap; int n; @@ -30,7 +30,7 @@ static int PRINTF_LIKE(1, 2) format(const char *fmt, ...) return (n); } -static void PRINTF_LIKE(1, 2) prepare(const char *fmt, ...) +static PRINTF_LIKE(1, 2) void prepare(const char *fmt, ...) { va_list ap; int n;