summaryrefslogtreecommitdiff
path: root/nptl/pthread_detach.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-12-27 16:33:27 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-12-27 16:33:27 +0000
commit064374be911f72dfaec8a75f06da1f9fc1827712 (patch)
treead96fd1f1b9b57a50005db7803f6b79e748bb820 /nptl/pthread_detach.c
parent4dc1e6e42f1f602e1d2227e112f2db8dce9da763 (diff)
parent7c7d34a16f08f84427b3f617313d9633423ad5eb (diff)
Merge commit 'refs/top-bases/t/hurdsig-global-dispositions' into t/hurdsig-global-dispositions
Diffstat (limited to 'nptl/pthread_detach.c')
-rw-r--r--nptl/pthread_detach.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/nptl/pthread_detach.c b/nptl/pthread_detach.c
index ccc44199de..b6001f6bce 100644
--- a/nptl/pthread_detach.c
+++ b/nptl/pthread_detach.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002-2016 Free Software Foundation, Inc.
+/* Copyright (C) 2002-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
@@ -22,7 +22,7 @@
int
-pthread_detach (pthread_t th)
+__pthread_detach (pthread_t th)
{
struct pthread *pd = (struct pthread *) th;
@@ -53,3 +53,4 @@ pthread_detach (pthread_t th)
return result;
}
+weak_alias (__pthread_detach, pthread_detach)