From ac426323570113bb13605b20d47273c8c23e3fe3 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 13 Aug 2020 17:25:43 +0200 Subject: Add format attributes --- test/ring_test.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/ring_test.c') diff --git a/test/ring_test.c b/test/ring_test.c index 6fa9589..5345754 100644 --- a/test/ring_test.c +++ b/test/ring_test.c @@ -14,6 +14,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include "zix/common.h" #include "zix/ring.h" #include "zix/thread.h" @@ -29,6 +30,7 @@ static ZixRing* ring = 0; static unsigned n_writes = 0; static bool read_error = false; +ZIX_LOG_FUNC(1, 2) static int failure(const char* fmt, ...) { -- cgit v1.2.1