aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/Versions2
-rw-r--r--linuxthreads/sysdeps/pthread/bits/libc-lock.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/linuxthreads/Versions b/linuxthreads/Versions
index 5579bea011..e8f7f4e30c 100644
--- a/linuxthreads/Versions
+++ b/linuxthreads/Versions
@@ -22,7 +22,7 @@ libc {
}
}
-ld.so {
+ld {
GLIBC_2.0 {
# Internal libc interface to libpthread
__libc_internal_tsd_get; __libc_internal_tsd_set;
diff --git a/linuxthreads/sysdeps/pthread/bits/libc-lock.h b/linuxthreads/sysdeps/pthread/bits/libc-lock.h
index 479a2f7a32..29584ed4d8 100644
--- a/linuxthreads/sysdeps/pthread/bits/libc-lock.h
+++ b/linuxthreads/sysdeps/pthread/bits/libc-lock.h
@@ -209,6 +209,7 @@ extern int __pthread_mutexattr_destroy (pthread_mutexattr_t *__attr);
extern int __pthread_mutexattr_settype (pthread_mutexattr_t *__attr,
int __kind);
+#ifdef __USE_UNIX98
extern int __pthread_rwlock_init (pthread_rwlock_t *__rwlock,
__const pthread_rwlockattr_t *__attr);
@@ -223,6 +224,7 @@ extern int __pthread_rwlock_wrlock (pthread_rwlock_t *__rwlock);
extern int __pthread_rwlock_trywrlock (pthread_rwlock_t *__rwlock);
extern int __pthread_rwlock_unlock (pthread_rwlock_t *__rwlock);
+#endif
extern int __pthread_key_create (pthread_key_t *__key,
void (*__destr_function) (void *));