From 8a7a47bb4b63d3501d5cec764f071ad8792307ba Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Sat, 5 Mar 2016 22:54:48 +0100 Subject: [PATCH] tests: fix old-style function definition --- src/testing.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/testing.h b/src/testing.h index c0a9e88a..2e4bf054 100644 --- a/src/testing.h +++ b/src/testing.h @@ -36,7 +36,7 @@ static int check_count__ = 0; # define DBL_PRECISION 1e-12 #endif -#define DEF_TEST(func) static int test_##func () +#define DEF_TEST(func) static int test_##func (void) #define RUN_TEST(func) do { \ int status; \ -- 2.30.2