summaryrefslogtreecommitdiff
path: root/nptl/pthread_condattr_getpshared.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/pthread_condattr_getpshared.c')
-rw-r--r--nptl/pthread_condattr_getpshared.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/nptl/pthread_condattr_getpshared.c b/nptl/pthread_condattr_getpshared.c
index c4d991728d..5a10f3eeb0 100644
--- a/nptl/pthread_condattr_getpshared.c
+++ b/nptl/pthread_condattr_getpshared.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002-2015 Free Software Foundation, Inc.
+/* Copyright (C) 2002-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
@@ -20,9 +20,7 @@
int
-pthread_condattr_getpshared (attr, pshared)
- const pthread_condattr_t *attr;
- int *pshared;
+pthread_condattr_getpshared (const pthread_condattr_t *attr, int *pshared)
{
*pshared = ((const struct pthread_condattr *) attr)->value & 1;