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/mutex.c | |
parent | 4c607eb71e5bcd3997ea72333c2fe89fc4181b3e (diff) | |
download | uClibc-alpine-4e3f108e9bbd567e058f53be646b0ba2be1de8dd.tar.bz2 uClibc-alpine-4e3f108e9bbd567e058f53be646b0ba2be1de8dd.tar.xz |
Merge from trunk.
Diffstat (limited to 'libpthread/linuxthreads.old/mutex.c')
-rw-r--r-- | libpthread/linuxthreads.old/mutex.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libpthread/linuxthreads.old/mutex.c b/libpthread/linuxthreads.old/mutex.c index d66882d4e..ca470cd75 100644 --- a/libpthread/linuxthreads.old/mutex.c +++ b/libpthread/linuxthreads.old/mutex.c @@ -212,7 +212,7 @@ int __pthread_mutexattr_init(pthread_mutexattr_t *attr) } strong_alias (__pthread_mutexattr_init, pthread_mutexattr_init) -int __pthread_mutexattr_destroy(pthread_mutexattr_t *attr) +int __pthread_mutexattr_destroy(pthread_mutexattr_t *attr attribute_unused) { return 0; } @@ -241,7 +241,7 @@ weak_alias (__pthread_mutexattr_gettype, pthread_mutexattr_gettype) strong_alias (__pthread_mutexattr_gettype, __pthread_mutexattr_getkind_np) weak_alias (__pthread_mutexattr_getkind_np, pthread_mutexattr_getkind_np) -int __pthread_mutexattr_getpshared (const pthread_mutexattr_t *attr, +int __pthread_mutexattr_getpshared (const pthread_mutexattr_t *attr attribute_unused, int *pshared) { *pshared = PTHREAD_PROCESS_PRIVATE; @@ -249,7 +249,7 @@ int __pthread_mutexattr_getpshared (const pthread_mutexattr_t *attr, } weak_alias (__pthread_mutexattr_getpshared, pthread_mutexattr_getpshared) -int __pthread_mutexattr_setpshared (pthread_mutexattr_t *attr, int pshared) +int __pthread_mutexattr_setpshared (pthread_mutexattr_t *attr attribute_unused, int pshared) { if (pshared != PTHREAD_PROCESS_PRIVATE && pshared != PTHREAD_PROCESS_SHARED) return EINVAL; |