summaryrefslogtreecommitdiff
path: root/tests/test-pthread-thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-pthread-thread.c')
-rw-r--r--tests/test-pthread-thread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-pthread-thread.c b/tests/test-pthread-thread.c
index 3c08084d..f0a19793 100644
--- a/tests/test-pthread-thread.c
+++ b/tests/test-pthread-thread.c
@@ -1,5 +1,5 @@
/* Test of pthread_create () function.
- 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 pthread_t worker_thread;
static volatile int work_done;
static void *
-worker_thread_func (void *arg)
+worker_thread_func (_GL_UNUSED void *arg)
{
work_done = 1;
return MAGIC;