ports/net/asterisk16/files/patch-main_lock.c
Guido Falsi 910dddabdd - Update asterisk16 to 16.12.0
- Asterisk project now embeds pjsip 2.10, get it's distribution
  from github and adapt port
- Remove patch merged upstream
- Refresh patches and rename to current naming scheme
- Reorder some variables to silnce portlint warning
2020-07-17 08:21:54 +00:00

12 lines
411 B
C

--- main/lock.c.orig 2020-07-09 15:39:17 UTC
+++ main/lock.c
@@ -689,9 +689,6 @@ int __ast_rwlock_init(int tracking, const char *filena
#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);