X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fdaemon%2Futils_avltree_test.c;h=3171246a15c71a5edf3039da142ec557e938a2da;hb=614660f40c32b5af9b6c4852e4e370fc3953a5c8;hp=345f97bf4c3cb8efd51fd9be91d287996344455c;hpb=c7c89cc9618ef25cc9b0861ac2782cb1a5d6782d;p=collectd.git diff --git a/src/daemon/utils_avltree_test.c b/src/daemon/utils_avltree_test.c index 345f97bf..3171246a 100644 --- a/src/daemon/utils_avltree_test.c +++ b/src/daemon/utils_avltree_test.c @@ -24,13 +24,14 @@ * Florian octo Forster */ -#include "common.h" /* STATIC_ARRAY_SIZE */ #include "collectd.h" +#include "common.h" /* STATIC_ARRAY_SIZE */ #include "testing.h" #include "utils_avltree.h" -static int compare_total_count = 0; +static int compare_total_count; + #define RESET_COUNTS() \ do { \ compare_total_count = 0; \ @@ -41,7 +42,7 @@ static int compare_callback(void const *v0, void const *v1) { assert(v1 != NULL); compare_total_count++; - return (strcmp(v0, v1)); + return strcmp(v0, v1); } DEF_TEST(success) { @@ -127,7 +128,7 @@ DEF_TEST(success) { c_avl_destroy(t); - return (0); + return 0; } int main(void) {