1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

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>
This commit is contained in:
Florian Weimer
2021-04-21 19:49:50 +02:00
parent c62cef023c
commit 93d78ec1cb
43 changed files with 21 additions and 77 deletions

View File

@ -19,7 +19,7 @@
#include <errno.h>
#include "pthreadP.h"
#include <atomic.h>
#include <libc-lockP.h>
int
__pthread_setcancelstate (int state, int *oldstate)
@ -67,5 +67,5 @@ __pthread_setcancelstate (int state, int *oldstate)
return 0;
}
strong_alias (__pthread_setcancelstate, pthread_setcancelstate)
hidden_def (__pthread_setcancelstate)
libc_hidden_def (__pthread_setcancelstate)
weak_alias (__pthread_setcancelstate, pthread_setcancelstate)