summaryrefslogtreecommitdiff
path: root/net/asterisk11/files/patch-main__lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/asterisk11/files/patch-main__lock.c')
-rw-r--r--net/asterisk11/files/patch-main__lock.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/net/asterisk11/files/patch-main__lock.c b/net/asterisk11/files/patch-main__lock.c
index a802d8817a1e..3621177e74ba 100644
--- a/net/asterisk11/files/patch-main__lock.c
+++ b/net/asterisk11/files/patch-main__lock.c
@@ -1,13 +1,12 @@
---- ./main/lock.c.orig 2010-11-06 15:00:15.000000000 +0100
-+++ ./main/lock.c 2010-11-06 15:00:23.000000000 +0100
-@@ -679,10 +679,6 @@
+--- main/lock.c.orig 2014-12-12 23:31:38 UTC
++++ main/lock.c
+@@ -701,9 +701,6 @@ int __ast_rwlock_init(int tracking, cons
+ #endif /* DEBUG_THREADS */
pthread_rwlockattr_init(&attr);
-
-#ifdef HAVE_PTHREAD_RWLOCK_PREFER_WRITER_NP
- pthread_rwlockattr_setkind_np(&attr, PTHREAD_RWLOCK_PREFER_WRITER_NP);
-#endif
--
res = pthread_rwlock_init(&t->lock, &attr);
pthread_rwlockattr_destroy(&attr);
- return res;
+