X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=tests%2Funit%2Ftest_utils_parse_size_suffix.cpp;h=4af3bc90d96090150ee1c49aa6ac1becc6f26629;hb=cd9adb8b829564212158943a0d279bb35322ab30;hp=3073e86860c5633498d865156bca9097bf8e2a70;hpb=e665dfbce25215d5ec77ff03a279c7163b337db1;p=lttng-tools.git diff --git a/tests/unit/test_utils_parse_size_suffix.cpp b/tests/unit/test_utils_parse_size_suffix.cpp index 3073e8686..4af3bc90d 100644 --- a/tests/unit/test_utils_parse_size_suffix.cpp +++ b/tests/unit/test_utils_parse_size_suffix.cpp @@ -78,7 +78,7 @@ const char *invalid_tests_inputs[] = { const int num_invalid_tests = sizeof(invalid_tests_inputs) / sizeof(invalid_tests_inputs[0]); } /* namespace */ -static void test_utils_parse_size_suffix(void) +static void test_utils_parse_size_suffix() { uint64_t result; int ret; @@ -103,7 +103,7 @@ static void test_utils_parse_size_suffix(void) } } -int main(void) +int main() { plan_tests(num_valid_tests + num_invalid_tests);