From: Ruben Kerkhof Date: Sat, 5 Mar 2016 21:54:48 +0000 (+0100) Subject: tests: fix old-style function definition X-Git-Tag: collectd-5.6.0~406 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=8a7a47bb4b63d3501d5cec764f071ad8792307ba;p=collectd.git tests: fix old-style function definition --- 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; \