Enable pthread_kill prototype
This commit is contained in:
@@ -66,9 +66,7 @@ int __libc_sigaction14(int, const struct sigaction * __restrict,
|
||||
defined(_NETBSD_SOURCE)
|
||||
int pthread_sigmask(int, const sigset_t * __restrict,
|
||||
sigset_t * __restrict);
|
||||
#if !defined(__minix)
|
||||
int pthread_kill(pthread_t, int);
|
||||
#endif /* !defined(__minix) */
|
||||
int __libc_thr_sigsetmask(int, const sigset_t * __restrict,
|
||||
sigset_t * __restrict);
|
||||
#ifndef __LIBPTHREAD_SOURCE__
|
||||
|
||||
@@ -379,13 +379,11 @@ struct uio;
|
||||
#define CLR(t, f) ((t) &= ~(f))
|
||||
#endif
|
||||
|
||||
#if !defined(__minix)
|
||||
#if !defined(_KERNEL) && !defined(_STANDALONE)
|
||||
#if (_POSIX_C_SOURCE - 0L) >= 199506L || (_XOPEN_SOURCE - 0) >= 500 || \
|
||||
defined(_NETBSD_SOURCE)
|
||||
#include <pthread_types.h>
|
||||
#endif
|
||||
#endif
|
||||
#endif /* !defined(__minix) */
|
||||
|
||||
#endif /* !_SYS_TYPES_H_ */
|
||||
|
||||
Reference in New Issue
Block a user