Browse Source

The prototype for pthread_sigmask(2) is supposed to live in <signal.h>

instead of <pthread.h>.
ok guenther@, millert@
OPENBSD_5_1
kettenis 13 years ago
parent
commit
3333a3c88c
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      src/include/signal.h

+ 4
- 1
src/include/signal.h View File

@ -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 $ */ /* $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 sigismember(const sigset_t *, int);
int sigpending(sigset_t *); int sigpending(sigset_t *);
int sigprocmask(int, const sigset_t *, 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 *); int sigsuspend(const sigset_t *);
#if !defined(_ANSI_LIBRARY) && !defined(lint) #if !defined(_ANSI_LIBRARY) && !defined(lint)


Loading…
Cancel
Save