diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-04-21 19:49:50 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-04-21 19:49:50 +0200 |
commit | 93d78ec1cba68184931b75bef29afd3aed30f43a (patch) | |
tree | 0306d8f4d7a01432f22b0471bed572803fb7a973 /sysdeps/posix | |
parent | c62cef023cdcd8349369ef4e0d08290e495659be (diff) | |
download | glibc-93d78ec1cba68184931b75bef29afd3aed30f43a.tar.gz glibc-93d78ec1cba68184931b75bef29afd3aed30f43a.tar.xz glibc-93d78ec1cba68184931b75bef29afd3aed30f43a.zip |
nptl: Move pthread_setcancelstate 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 'sysdeps/posix')
-rw-r--r-- | sysdeps/posix/system.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sysdeps/posix/system.c b/sysdeps/posix/system.c index 13c0662f90..48668fb392 100644 --- a/sysdeps/posix/system.c +++ b/sysdeps/posix/system.c @@ -82,10 +82,9 @@ cancel_handler (void *arg) __kill_noerrno (args->pid, SIGKILL); int state; - __libc_ptf_call (__pthread_setcancelstate, - (PTHREAD_CANCEL_DISABLE, &state), 0); + __pthread_setcancelstate (PTHREAD_CANCEL_DISABLE, &state); TEMP_FAILURE_RETRY (__waitpid (args->pid, NULL, 0)); - __libc_ptf_call (__pthread_setcancelstate, (state, NULL), 0); + __pthread_setcancelstate (state, NULL); DO_LOCK (); if (SUB_REF () == 0) |