summaryrefslogtreecommitdiff
path: root/tests/lib/test_timer_correctness.c
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2022-02-24 01:43:48 -0500
committerGitHub <noreply@github.com>2022-02-24 01:43:48 -0500
commit7bf63db79b7848b73e1cef49f3496038644bea16 (patch)
tree2c95921d910689673348e60f9614de7d9d00c4e7 /tests/lib/test_timer_correctness.c
parentca6c97340b013e140c0cb31737858f7c672b7dfb (diff)
parentcc9f21da2218d95567eff1501482ce58e6600f54 (diff)
Merge pull request #10632 from donaldsharp/thread_return_null
*: Change thread->func to return void instead of int
Diffstat (limited to 'tests/lib/test_timer_correctness.c')
-rw-r--r--tests/lib/test_timer_correctness.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/lib/test_timer_correctness.c b/tests/lib/test_timer_correctness.c
index 1756d87a6f..4172ca3001 100644
--- a/tests/lib/test_timer_correctness.c
+++ b/tests/lib/test_timer_correctness.c
@@ -76,7 +76,7 @@ static void terminate_test(void)
exit(exit_code);
}
-static int timer_func(struct thread *thread)
+static void timer_func(struct thread *thread)
{
int rv;
@@ -90,8 +90,6 @@ static int timer_func(struct thread *thread)
timers_pending--;
if (!timers_pending)
terminate_test();
-
- return 0;
}
static int cmp_timeval(const void *a, const void *b)