diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-01-06 00:32:15 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-01-06 00:32:15 +0000 |
commit | 4e3f108e9bbd567e058f53be646b0ba2be1de8dd (patch) | |
tree | 1a2ed0a309331ab848cbf017ed7e4c296472ee4e /libpthread/linuxthreads.old/condvar.c | |
parent | 4c607eb71e5bcd3997ea72333c2fe89fc4181b3e (diff) | |
download | uClibc-alpine-4e3f108e9bbd567e058f53be646b0ba2be1de8dd.tar.bz2 uClibc-alpine-4e3f108e9bbd567e058f53be646b0ba2be1de8dd.tar.xz |
Merge from trunk.
Diffstat (limited to 'libpthread/linuxthreads.old/condvar.c')
-rw-r--r-- | libpthread/linuxthreads.old/condvar.c | 10 |
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; |