From: Julian Seward Date: Wed, 1 May 2002 00:03:16 +0000 (+0000) Subject: Fix typo to do with rwlock aliasing. X-Git-Tag: svn/VALGRIND_1_0_3~275 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0d319d98ada545e8758210bedf0dc2bb2d1ba5c;p=thirdparty%2Fvalgrind.git Fix typo to do with rwlock aliasing. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@177 --- 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.