From 3333a3c88c5b159dfdea3337dd49d6bafbe566a6 Mon Sep 17 00:00:00 2001 From: kettenis <> Date: Tue, 3 Jan 2012 16:53:48 +0000 Subject: [PATCH] The prototype for pthread_sigmask(2) is supposed to live in instead of . ok guenther@, millert@ --- src/include/signal.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/include/signal.h b/src/include/signal.h index 2553bc82..d666ed50 100644 --- a/src/include/signal.h +++ b/src/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)