summaryrefslogtreecommitdiff
path: root/nptl/pthread_key_create.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/pthread_key_create.c')
-rw-r--r--nptl/pthread_key_create.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/nptl/pthread_key_create.c b/nptl/pthread_key_create.c
index a642c6929f..66938b914c 100644
--- a/nptl/pthread_key_create.c
+++ b/nptl/pthread_key_create.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.
@@ -22,9 +22,7 @@
int
-__pthread_key_create (key, destr)
- pthread_key_t *key;
- void (*destr) (void *);
+__pthread_key_create (pthread_key_t *key, void (*destr) (void *))
{
/* Find a slot in __pthread_keys which is unused. */
for (size_t cnt = 0; cnt < PTHREAD_KEYS_MAX; ++cnt)