From 9acaf58149a23501ae138efce10f8944a20e214d Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 27 Dec 2005 09:37:14 +0000 Subject: kill off minor unused warnings --- libpthread/linuxthreads.old/condvar.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libpthread/linuxthreads.old/condvar.c') 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; -- cgit v1.2.3