summaryrefslogtreecommitdiff
path: root/nptl/pthread_detach.c
diff options
context:
space:
mode:
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)