summaryrefslogtreecommitdiff
path: root/locking.h
diff options
context:
space:
mode:
Diffstat (limited to 'locking.h')
-rw-r--r--locking.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/locking.h b/locking.h
index ac10d5d..3d27939 100644
--- a/locking.h
+++ b/locking.h
@@ -69,7 +69,7 @@ static inline int rwlock_init(struct rwlock *l)
}
static inline int rwlock_init2(struct rwlock *l,
- pthread_rwlockattr_t *restrict attr)
+ pthread_rwlockattr_t *attr)
{
return -pthread_rwlock_init(&l->lock, attr);
}