about summary refs log tree commit diff
path: root/nptl/pthread_setcanceltype.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-04-21 19:49:50 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-04-21 19:49:50 +0200
commit75376a3fb8429e3cf8275337ac56bf5f8127303b (patch)
tree298e27b1b8389937a3b0ce53dbc2e477de8d623b /nptl/pthread_setcanceltype.c
parent93d78ec1cba68184931b75bef29afd3aed30f43a (diff)
downloadglibc-75376a3fb8429e3cf8275337ac56bf5f8127303b.tar.gz
glibc-75376a3fb8429e3cf8275337ac56bf5f8127303b.tar.xz
glibc-75376a3fb8429e3cf8275337ac56bf5f8127303b.zip
nptl: Move pthread_setcanceltype into libc
No new symbol version is required because there was a forwarder.

The symbol has been moved using scripts/move-symbol-to-libc.py.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'nptl/pthread_setcanceltype.c')
-rw-r--r--nptl/pthread_setcanceltype.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nptl/pthread_setcanceltype.c b/nptl/pthread_setcanceltype.c
index a9ce9b37fb..5f061d512b 100644
--- a/nptl/pthread_setcanceltype.c
+++ b/nptl/pthread_setcanceltype.c
@@ -68,4 +68,5 @@ __pthread_setcanceltype (int type, int *oldtype)
 
   return 0;
 }
-strong_alias (__pthread_setcanceltype, pthread_setcanceltype)
+libc_hidden_def (__pthread_setcanceltype)
+weak_alias (__pthread_setcanceltype, pthread_setcanceltype)