Browse Source

libpthread: Remove no longer valid attribute_unused

The variable is used since 04a676f3c8d2443499f27612f69ee88e12089e61.
Marcus Haehnel 1 month ago
parent
commit
a53e19f932
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libpthread/linuxthreads/condvar.c

+ 1 - 1
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;