summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/pthread_setname.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/pthread_setname.c')
-rw-r--r--sysdeps/unix/sysv/linux/pthread_setname.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/pthread_setname.c b/sysdeps/unix/sysv/linux/pthread_setname.c
index db185527aa..6c5e1d6e48 100644
--- a/sysdeps/unix/sysv/linux/pthread_setname.c
+++ b/sysdeps/unix/sysv/linux/pthread_setname.c
@@ -1,5 +1,5 @@
/* pthread_setname_np -- Set thread name. Linux version
- Copyright (C) 2010-2015 Free Software Foundation, Inc.
+ Copyright (C) 2010-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -28,9 +28,7 @@
int
-pthread_setname_np (th, name)
- pthread_t th;
- const char *name;
+pthread_setname_np (pthread_t th, const char *name)
{
const struct pthread *pd = (const struct pthread *) th;