summaryrefslogtreecommitdiff
path: root/debian/patches/libpthread_rwlock_initializer.patch
blob: f54617ac8ffdf3d20f4b114c9740334493f7b20e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Index: libpthread/include/pthread/pthread.h
===================================================================
RCS file: /cvsroot/hurd/hurd/libpthread/include/pthread/pthread.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -p -r1.15 -r1.16
--- libpthread/include/pthread/pthread.h	12 Aug 2008 15:07:49 -0000	1.15
+++ libpthread/include/pthread/pthread.h	21 Dec 2008 18:41:27 -0000	1.16
@@ -521,6 +521,7 @@ extern int pthread_rwlockattr_setpshared
 
 #include <bits/rwlock.h>
 
+#define PTHREAD_RWLOCK_INITIALIZER __PTHREAD_RWLOCK_INITIALIZER
 /* Create a rwlock object with attributes given by ATTR and strore the
    result in *RWLOCK.  */
 extern int pthread_rwlock_init (pthread_rwlock_t *__restrict rwlock,