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

nptl: Move pthread_kill to libc

A new 2.34 version is also provided.

Checked on x86_64-linux-gnu.
This commit is contained in:
Adhemerval Zanella
2020-12-03 11:43:25 -03:00
parent dd10230fd8
commit b76658451c
64 changed files with 75 additions and 32 deletions

View File

@ -18,6 +18,7 @@
#include <unistd.h>
#include <pthreadP.h>
#include <shlib-compat.h>
int
__pthread_kill (pthread_t threadid, int signo)
@ -43,4 +44,8 @@ __pthread_kill (pthread_t threadid, int signo)
return (INTERNAL_SYSCALL_ERROR_P (val)
? INTERNAL_SYSCALL_ERRNO (val) : 0);
}
strong_alias (__pthread_kill, pthread_kill)
versioned_symbol (libc, __pthread_kill, pthread_kill, GLIBC_2_34);
#if OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_34)
compat_symbol (libc, __pthread_kill, pthread_kill, GLIBC_2_0);
#endif