From: Ruben Kerkhof Date: Mon, 14 Oct 2019 16:32:17 +0000 (+0200) Subject: clang-format X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=6e188f0c56e953f2d34ade61363bc68d2495a4b2;p=collectd.git clang-format --- diff --git a/src/daemon/common_test.c b/src/daemon/common_test.c index e166f309..b364e432 100644 --- a/src/daemon/common_test.c +++ b/src/daemon/common_test.c @@ -280,10 +280,15 @@ DEF_TEST(parse_values) { for (size_t i = 0; i < STATIC_ARRAY_SIZE(cases); i++) { data_source_t dsrc = { - .name = "value", .type = DS_TYPE_GAUGE, .min = 0.0, .max = NAN, + .name = "value", + .type = DS_TYPE_GAUGE, + .min = 0.0, + .max = NAN, }; data_set_t ds = { - .type = "example", .ds_num = 1, .ds = &dsrc, + .type = "example", + .ds_num = 1, + .ds = &dsrc, }; value_t v = { @@ -344,7 +349,8 @@ DEF_TEST(value_to_rate) { for (size_t i = 0; i < STATIC_ARRAY_SIZE(cases); i++) { cdtime_t t0 = TIME_T_TO_CDTIME_T(cases[i].t0); value_to_rate_state_t state = { - .last_value = cases[i].v0, .last_time = t0, + .last_value = cases[i].v0, + .last_time = t0, }; gauge_t got;