mirror of git://sourceware.org/git/glibc.git
htl: move __pthread_sigstate_init into libc.
Message-ID: <20250815181500.107433-15-gfleury@disroot.org>
This commit is contained in:
parent
f6a47e2d61
commit
d0667a77de
|
|
@ -37,7 +37,6 @@ libpthread-routines := \
|
|||
pt-sysdep \
|
||||
pt-setup \
|
||||
pt-spin \
|
||||
pt-sigstate-init \
|
||||
pt-getname-np \
|
||||
pt-setname-np \
|
||||
sem_close \
|
||||
|
|
@ -202,6 +201,7 @@ routines := \
|
|||
pt-sigmask \
|
||||
pt-sigstate \
|
||||
pt-sigstate-destroy \
|
||||
pt-sigstate-init \
|
||||
pt-stack-alloc \
|
||||
pt-testcancel \
|
||||
pt-thread-alloc \
|
||||
|
|
|
|||
|
|
@ -258,6 +258,7 @@ libc {
|
|||
__pthread_mutexattr_settype;
|
||||
__pthread_once;
|
||||
__pthread_setspecific;
|
||||
__pthread_sigstate_init;
|
||||
__pthread_sigstate;
|
||||
__pthread_sigstate_destroy;
|
||||
__pthread_sigmask;
|
||||
|
|
|
|||
|
|
@ -311,6 +311,7 @@ libc_hidden_proto (__pthread_destroy_specific)
|
|||
/* Initialize newly create thread *THREAD's signal state data
|
||||
structures. */
|
||||
extern error_t __pthread_sigstate_init (struct __pthread *thread);
|
||||
libc_hidden_proto (__pthread_sigstate_init)
|
||||
|
||||
/* Destroy the signal state data structures associated with thread
|
||||
*THREAD. */
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@
|
|||
#include <pthread.h>
|
||||
#include <pt-internal.h>
|
||||
#include <hurd/signal.h>
|
||||
#include <ldsodefs.h>
|
||||
|
||||
error_t
|
||||
__pthread_sigstate_init (struct __pthread *thread)
|
||||
|
|
@ -42,3 +43,5 @@ __pthread_sigstate_init (struct __pthread *thread)
|
|||
|
||||
return 0;
|
||||
}
|
||||
|
||||
libc_hidden_def (__pthread_sigstate_init)
|
||||
|
|
|
|||
Loading…
Reference in New Issue