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