summaryrefslogtreecommitdiff
path: root/nptl/pthread_rwlockattr_getpshared.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/pthread_rwlockattr_getpshared.c')
-rw-r--r--nptl/pthread_rwlockattr_getpshared.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/nptl/pthread_rwlockattr_getpshared.c b/nptl/pthread_rwlockattr_getpshared.c
index 528dc84860..6708f2289c 100644
--- a/nptl/pthread_rwlockattr_getpshared.c
+++ b/nptl/pthread_rwlockattr_getpshared.c
@@ -20,9 +20,7 @@
int
-pthread_rwlockattr_getpshared (attr, pshared)
- const pthread_rwlockattr_t *attr;
- int *pshared;
+pthread_rwlockattr_getpshared (const pthread_rwlockattr_t *attr, int *pshared)
{
*pshared = ((const struct pthread_rwlockattr *) attr)->pshared;