diff options
Diffstat (limited to 'tests/test-thread_create.c')
-rw-r--r-- | tests/test-thread_create.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test-thread_create.c b/tests/test-thread_create.c index 17e6942b..ae1d331b 100644 --- a/tests/test-thread_create.c +++ b/tests/test-thread_create.c @@ -1,5 +1,5 @@ /* Test of gl_thread_create () macro. - Copyright (C) 2011-2022 Free Software Foundation, Inc. + Copyright (C) 2011-2024 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -33,7 +33,7 @@ static int dummy; static volatile int work_done; static void * -worker_thread_func (void *arg) +worker_thread_func (_GL_UNUSED void *arg) { work_done = 1; return &dummy; @@ -63,7 +63,7 @@ main () /* Check that worker_thread_func () has finished executing. */ ASSERT (work_done); - return 0; + return test_exit_status; } else { |