summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Haehnel <marcus.haehnel@kernkonzept.com>2024-03-07 09:00:46 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2024-03-07 09:16:02 +0100
commita53e19f932194e595025bbdcbc85783e8668ee9c (patch)
tree72b05d751c47b8e813eb0370e203717cc66c87f0
parent357f094fcbf43bf5f6821290d62929a4a1fa768f (diff)
libpthread: Remove no longer valid attribute_unused
The variable is used since 04a676f3c8d2443499f27612f69ee88e12089e61.
-rw-r--r--libpthread/linuxthreads/condvar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpthread/linuxthreads/condvar.c b/libpthread/linuxthreads/condvar.c
index 949991ad7..027aa8fc3 100644
--- a/libpthread/linuxthreads/condvar.c
+++ b/libpthread/linuxthreads/condvar.c
@@ -273,7 +273,7 @@ int pthread_cond_broadcast(pthread_cond_t *cond)
}
libpthread_hidden_def(pthread_cond_broadcast)
-int pthread_condattr_init(pthread_condattr_t *attr attribute_unused)
+int pthread_condattr_init(pthread_condattr_t *attr)
{
memset (attr, '\0', sizeof (*attr));
return 0;