]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix typo to do with rwlock aliasing.
authorJulian Seward <jseward@acm.org>
Wed, 1 May 2002 00:03:16 +0000 (00:03 +0000)
committerJulian Seward <jseward@acm.org>
Wed, 1 May 2002 00:03:16 +0000 (00:03 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@177

coregrind/arch/x86-linux/vg_libpthread.c
coregrind/vg_libpthread.c
vg_libpthread.c

index 4f0bf9912270fa65c0c8a888ddc27fe6515f051c..beaeea5b957cef0cdf7997486741c33635305ea3 100644 (file)
@@ -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.
index 4f0bf9912270fa65c0c8a888ddc27fe6515f051c..beaeea5b957cef0cdf7997486741c33635305ea3 100644 (file)
@@ -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.
index 4f0bf9912270fa65c0c8a888ddc27fe6515f051c..beaeea5b957cef0cdf7997486741c33635305ea3 100644 (file)
@@ -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.