about summary refs log tree commit diff
path: root/nptl/pthreadP.h
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/pthreadP.h
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/pthreadP.h')
-rw-r--r--nptl/pthreadP.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/nptl/pthreadP.h b/nptl/pthreadP.h
index 9215a76b61..5242a2bce6 100644
--- a/nptl/pthreadP.h
+++ b/nptl/pthreadP.h
@@ -537,6 +537,7 @@ extern void __pthread_exit (void *value) __attribute__ ((__noreturn__));
 libc_hidden_proto (__pthread_exit)
 extern int __pthread_join (pthread_t threadid, void **thread_return);
 extern int __pthread_setcanceltype (int type, int *oldtype);
+libc_hidden_proto (__pthread_setcanceltype)
 extern int __pthread_enable_asynccancel (void) attribute_hidden;
 extern void __pthread_disable_asynccancel (int oldtype) attribute_hidden;
 extern void __pthread_testcancel (void);