projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
port: fix -Wdeprecated-declarations warning about sprintf on macOS clang 14
[lttng-tools.git]
/
tests
/
unit
/
test_utils_parse_time_suffix.cpp
diff --git
a/tests/unit/test_utils_parse_time_suffix.cpp
b/tests/unit/test_utils_parse_time_suffix.cpp
index 98630d6abce44772860ba5c0a7a81f7e653087a3..12185830f140b32e5f026923f37edd27966934d8 100644
(file)
--- a/
tests/unit/test_utils_parse_time_suffix.cpp
+++ b/
tests/unit/test_utils_parse_time_suffix.cpp
@@
-71,7
+71,7
@@
const char *invalid_tests_inputs[] = {
const int num_invalid_tests = sizeof(invalid_tests_inputs) / sizeof(invalid_tests_inputs[0]);
} /* namespace */
const int num_invalid_tests = sizeof(invalid_tests_inputs) / sizeof(invalid_tests_inputs[0]);
} /* namespace */
-static void test_utils_parse_time_suffix(
void
)
+static void test_utils_parse_time_suffix()
{
uint64_t result;
int ret;
{
uint64_t result;
int ret;
@@
-100,7
+100,7
@@
static void test_utils_parse_time_suffix(void)
}
}
}
}
-int main(
void
)
+int main()
{
plan_tests(num_valid_tests + num_invalid_tests);
{
plan_tests(num_valid_tests + num_invalid_tests);
This page took
0.024392 seconds
and
4
git commands to generate.