aboutsummaryrefslogtreecommitdiffstats
path: root/include/signal.h
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2011-02-20 09:52:29 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2011-02-20 09:52:29 +0000
commitba13377a7e91ef426307c5dafc89927f15e5e8cc (patch)
tree49484adb699c86544372e13ed0833466fd7d7d3e /include/signal.h
parentf9e66923e5c77925e566778b4d25c0cc5daa2324 (diff)
downloadsrc-ba13377a7e91ef426307c5dafc89927f15e5e8cc.tar.gz
src-ba13377a7e91ef426307c5dafc89927f15e5e8cc.zip
Add restrict keyword to pthread_sigmask prototype and manpage.
MFC after: 1 week
Notes
Notes: svn path=/head/; revision=218881
Diffstat (limited to 'include/signal.h')
-rw-r--r--include/signal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/signal.h b/include/signal.h
index 4a4cd1744e41..32b9e6b4ad71 100644
--- a/include/signal.h
+++ b/include/signal.h
@@ -69,7 +69,8 @@ int raise(int);
#if __POSIX_VISIBLE || __XSI_VISIBLE
int kill(__pid_t, int);
int pthread_kill(__pthread_t, int);
-int pthread_sigmask(int, const __sigset_t *, __sigset_t *);
+int pthread_sigmask(int, const __sigset_t * __restrict,
+ __sigset_t * __restrict);
int sigaction(int, const struct sigaction * __restrict,
struct sigaction * __restrict);
int sigaddset(sigset_t *, int);