]> Savannah Git Hosting - gnulib.git/commitdiff
lock: Fix link error (regression from 2017-01-05).
authorBruno Haible <bruno@clisp.org>
Tue, 31 Jan 2017 23:13:21 +0000 (00:13 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 31 Jan 2017 23:13:21 +0000 (00:13 +0100)
* lib/glthread/lock.h [USE_POSIX_THREADS_WEAK]: Declare also
pthread_rwlockattr_init, pthread_rwlockattr_setkind_np,
pthread_rwlockattr_destroy weak.
Reported by Tom G. Christensen <tgc@jupiterrise.com>.

ChangeLog
lib/glthread/lock.h

index 132fa080056a2a14931b87d701c65d174315685b..b81f208a0702c12a214e273b4c08fb58ea9abcfd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2017-01-31  Bruno Haible  <bruno@clisp.org>
+
+       lock: Fix link error (regression from 2017-01-05).
+       * lib/glthread/lock.h [USE_POSIX_THREADS_WEAK]: Declare also
+       pthread_rwlockattr_init, pthread_rwlockattr_setkind_np,
+       pthread_rwlockattr_destroy weak.
+       Reported by Tom G. Christensen <tgc@jupiterrise.com>.
+
 2017-01-30  Paul Eggert  <eggert@cs.ucla.edu>
 
        Port to PGI 16.10 x86-64
index 69f6e3119a1d70d6a2812e5775332b2100e15431..ec16d39a2243f01134892d4f5933ea82d1eb8f6c 100644 (file)
@@ -139,6 +139,9 @@ extern int glthread_in_use (void);
 #  pragma weak pthread_mutexattr_init
 #  pragma weak pthread_mutexattr_settype
 #  pragma weak pthread_mutexattr_destroy
+#  pragma weak pthread_rwlockattr_init
+#  pragma weak pthread_rwlockattr_setkind_np
+#  pragma weak pthread_rwlockattr_destroy
 #  ifndef pthread_self
 #   pragma weak pthread_self
 #  endif