Fix more stuff broken by recent exported-symbol hackery.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@156 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/vg_libpthread.c b/coregrind/vg_libpthread.c
index 0ed95d0..960d986 100644
--- a/coregrind/vg_libpthread.c
+++ b/coregrind/vg_libpthread.c
@@ -1398,6 +1398,18 @@
 weak_alias(pthread_rwlock_unlock, __pthread_rwlock_unlock)
 
 
+int
+pthread_rwlock_wrlock (void* /* pthread_rwlock_t* */ rwlock)
+{
+   static int moans = N_MOANS;
+   if (moans-- > 0) 
+      kludged("pthread_rwlock_wrlock");
+   return 0;
+}
+
+weak_alias(pthread_rwlock_wrlock, __pthread_wrlock_unlock)
+
+
 /* I've no idea what these are, but they get called quite a lot.
    Anybody know? */