projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9975ca
)
tests: fix old-style function definition
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sat, 5 Mar 2016 21:54:48 +0000
(22:54 +0100)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sat, 5 Mar 2016 21:54:48 +0000
(22:54 +0100)
src/testing.h
patch
|
blob
|
history
diff --git
a/src/testing.h
b/src/testing.h
index
c0a9e88
..
2e4bf05
100644
(file)
--- 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; \