summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads.old/condvar.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-12-27 09:37:14 +0000
committerMike Frysinger <vapier@gentoo.org>2005-12-27 09:37:14 +0000
commit9acaf58149a23501ae138efce10f8944a20e214d (patch)
tree261742c79e7b55420b2e8d6dbbef073851aab4bc /libpthread/linuxthreads.old/condvar.c
parentb027080b40664e29d83456951ad3e3e519615c8d (diff)
kill off minor unused warnings
Diffstat (limited to 'libpthread/linuxthreads.old/condvar.c')
-rw-r--r--libpthread/linuxthreads.old/condvar.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libpthread/linuxthreads.old/condvar.c b/libpthread/linuxthreads.old/condvar.c
index f9c46a331..c5a4f81da 100644
--- a/libpthread/linuxthreads.old/condvar.c
+++ b/libpthread/linuxthreads.old/condvar.c
@@ -26,7 +26,7 @@
#include "restart.h"
int pthread_cond_init(pthread_cond_t *cond,
- const pthread_condattr_t *cond_attr)
+ const pthread_condattr_t *cond_attr attribute_unused)
{
__pthread_init_lock(&cond->__c_lock);
cond->__c_waiting = NULL;
@@ -267,23 +267,23 @@ int pthread_cond_broadcast(pthread_cond_t *cond)
return 0;
}
-int pthread_condattr_init(pthread_condattr_t *attr)
+int pthread_condattr_init(pthread_condattr_t *attr attribute_unused)
{
return 0;
}
-int pthread_condattr_destroy(pthread_condattr_t *attr)
+int pthread_condattr_destroy(pthread_condattr_t *attr attribute_unused)
{
return 0;
}
-int pthread_condattr_getpshared (const pthread_condattr_t *attr, int *pshared)
+int pthread_condattr_getpshared (const pthread_condattr_t *attr attribute_unused, int *pshared)
{
*pshared = PTHREAD_PROCESS_PRIVATE;
return 0;
}
-int pthread_condattr_setpshared (pthread_condattr_t *attr, int pshared)
+int pthread_condattr_setpshared (pthread_condattr_t *attr attribute_unused, int pshared)
{
if (pshared != PTHREAD_PROCESS_PRIVATE && pshared != PTHREAD_PROCESS_SHARED)
return EINVAL;