aboutsummaryrefslogtreecommitdiffstats
path: root/include/signal.h
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2015-03-25 21:53:17 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2015-03-25 21:53:17 +0000
commit28cdb3ee1548da44cb5319fc93f6c2fa59531ae4 (patch)
tree31b9171bd5eeb36476d0f1f52994f50382d4b223 /include/signal.h
parentd9bdc5200a41c4fe95f946df97e6d68d9694ad50 (diff)
downloadsrc-28cdb3ee1548da44cb5319fc93f6c2fa59531ae4.tar.gz
src-28cdb3ee1548da44cb5319fc93f6c2fa59531ae4.zip
Temporarily revert 280458.
GCC is still carries an old version of cdefs.h which doesn't accept multiple parameters for the nonnull attribute. Since this issue probably affects many ports in the tree we will revert it for now until gcc gets fixed.
Notes
Notes: svn path=/head/; revision=280636
Diffstat (limited to 'include/signal.h')
-rw-r--r--include/signal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/signal.h b/include/signal.h
index b80fde4fb379..dca19aaa8613 100644
--- a/include/signal.h
+++ b/include/signal.h
@@ -78,10 +78,10 @@ int sigdelset(sigset_t *, int);
int sigemptyset(sigset_t *);
int sigfillset(sigset_t *);
int sigismember(const sigset_t *, int);
-int sigpending(sigset_t *) __nonnull(1);
+int sigpending(sigset_t *);
int sigprocmask(int, const sigset_t * __restrict, sigset_t * __restrict);
-int sigsuspend(const sigset_t *) __nonnull(1);
-int sigwait(const sigset_t * __restrict, int * __restrict) __nonnull(1, 2);
+int sigsuspend(const sigset_t *);
+int sigwait(const sigset_t * __restrict, int * __restrict);
#endif
#if __POSIX_VISIBLE >= 199506 || __XSI_VISIBLE >= 600