summaryrefslogtreecommitdiff
path: root/tests/test-thread_create.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-thread_create.c')
-rw-r--r--tests/test-thread_create.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-thread_create.c b/tests/test-thread_create.c
index 17e6942b..89dc1c9e 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;