diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2012-01-03 16:53:49 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2012-01-03 16:53:49 +0000 |
commit | 49c626d3ec533c7027d8defde027019bdebd1d1c (patch) | |
tree | cea26448f4321fc25af7809aa782193b677e04ae /include/signal.h | |
parent | 358bfe23d9f17d64e6470f1a11e7a44bc9eb98d2 (diff) |
The prototype for pthread_sigmask(2) is supposed to live in <signal.h>
instead of <pthread.h>.
ok guenther@, millert@
Diffstat (limited to 'include/signal.h')
-rw-r--r-- | include/signal.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/signal.h b/include/signal.h index 2553bc828d0..d666ed5097c 100644 --- a/include/signal.h +++ b/include/signal.h @@ -1,4 +1,4 @@ -/* $OpenBSD: signal.h,v 1.16 2011/11/22 21:13:30 guenther Exp $ */ +/* $OpenBSD: signal.h,v 1.17 2012/01/03 16:53:48 kettenis Exp $ */ /* $NetBSD: signal.h,v 1.8 1996/02/29 00:04:57 jtc Exp $ */ /*- @@ -60,6 +60,9 @@ int sigfillset(sigset_t *); int sigismember(const sigset_t *, int); int sigpending(sigset_t *); int sigprocmask(int, const sigset_t *, sigset_t *); +#if __POSIX_VISIBLE >= 199506 +int pthread_sigmask(int, const sigset_t *, sigset_t *); +#endif int sigsuspend(const sigset_t *); #if !defined(_ANSI_LIBRARY) && !defined(lint) |