Leave more space for extensions in pthread_rwlockattr_t

Change pthread_rwlockattr_t from int to long. On LP64 this gives us more
room for extensibility since longs are 8 bytes. glibc also reserves 8
bytes for this.

Bug: 14582681
Bug: 12875898
Change-Id: I55d599be0fdbbf0cb55957ec0ea62ab042bdee94
This commit is contained in:
Calin Juravle 2014-05-06 13:39:47 +01:00
parent 9b5ee4aa85
commit 7c435f2415

@ -91,7 +91,7 @@ typedef struct {
typedef long pthread_mutexattr_t;
typedef long pthread_condattr_t;
typedef int pthread_rwlockattr_t;
typedef long pthread_rwlockattr_t;
typedef struct {
pthread_mutex_t lock;