From b0d319d98ada545e8758210bedf0dc2bb2d1ba5c Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Wed, 1 May 2002 00:03:16 +0000 Subject: [PATCH] Fix typo to do with rwlock aliasing. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@177 --- coregrind/arch/x86-linux/vg_libpthread.c | 2 +- coregrind/vg_libpthread.c | 2 +- vg_libpthread.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/coregrind/arch/x86-linux/vg_libpthread.c b/coregrind/arch/x86-linux/vg_libpthread.c index 4f0bf99122..beaeea5b95 100644 --- a/coregrind/arch/x86-linux/vg_libpthread.c +++ b/coregrind/arch/x86-linux/vg_libpthread.c @@ -1422,7 +1422,7 @@ pthread_rwlock_wrlock (void* /* pthread_rwlock_t* */ rwlock) return 0; } -weak_alias(pthread_rwlock_wrlock, __pthread_wrlock_unlock) +weak_alias(pthread_rwlock_wrlock, __pthread_rwlock_wrlock) /* I've no idea what these are, but they get called quite a lot. diff --git a/coregrind/vg_libpthread.c b/coregrind/vg_libpthread.c index 4f0bf99122..beaeea5b95 100644 --- a/coregrind/vg_libpthread.c +++ b/coregrind/vg_libpthread.c @@ -1422,7 +1422,7 @@ pthread_rwlock_wrlock (void* /* pthread_rwlock_t* */ rwlock) return 0; } -weak_alias(pthread_rwlock_wrlock, __pthread_wrlock_unlock) +weak_alias(pthread_rwlock_wrlock, __pthread_rwlock_wrlock) /* I've no idea what these are, but they get called quite a lot. diff --git a/vg_libpthread.c b/vg_libpthread.c index 4f0bf99122..beaeea5b95 100644 --- a/vg_libpthread.c +++ b/vg_libpthread.c @@ -1422,7 +1422,7 @@ pthread_rwlock_wrlock (void* /* pthread_rwlock_t* */ rwlock) return 0; } -weak_alias(pthread_rwlock_wrlock, __pthread_wrlock_unlock) +weak_alias(pthread_rwlock_wrlock, __pthread_rwlock_wrlock) /* I've no idea what these are, but they get called quite a lot. -- 2.47.2