Enable pthread_kill prototype

This commit is contained in:
2017-06-19 00:25:00 +00:00
parent 6a278b1af0
commit 9815ad49a1
2 changed files with 0 additions and 4 deletions

View File

@@ -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__

View File

@@ -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_ */