Clean-up: remove instances of loop initial declarations
[lttng-tools.git] / tests / unit / test_relayd_backward_compat_group_by_session.c
index 1be8df045c359ddb32fa6d65f042560e8811661c..769f8809efc2183cf03176c06ef9e12f36bdba02 100644 (file)
@@ -115,11 +115,12 @@ static char *craft_expected(struct test *test)
 
 int main(int argc, char **argv)
 {
+       int i;
        int num_test = sizeof(tests) / sizeof(struct test);
 
        plan_tests(NUM_TESTS_PER_TEST * num_test);
        diag("Backward compatibility utils for lttng-relayd --group-by-session");
-       for (int i = 0; i < num_test; i++) {
+       for (i = 0; i < num_test; i++) {
                char *expected = NULL;
                char *result = NULL;
 
This page took 0.023177 seconds and 4 git commands to generate.