summaryrefslogtreecommitdiffstats
path: root/lib/libc_r/uthread
diff options
context:
space:
mode:
authorrobert <robert@FreeBSD.org>2002-10-02 10:53:44 +0000
committerrobert <robert@FreeBSD.org>2002-10-02 10:53:44 +0000
commit4ab3b5c0e7f470c2a4a31f60fcd78f83f89c5102 (patch)
treee46b96148e29adb4f50d75525588c214bf815190 /lib/libc_r/uthread
parentaef5d44ac2ade131aba09b58aed0efe06c7b9a19 (diff)
downloadFreeBSD-src-4ab3b5c0e7f470c2a4a31f60fcd78f83f89c5102.zip
FreeBSD-src-4ab3b5c0e7f470c2a4a31f60fcd78f83f89c5102.tar.gz
Add the 'restrict' type qualifier to the prototypes of `sigaction',
`sigprocmask', `sigaltstack', and `sigwait' as well as to the prototypes of the apparantly unimplemented functions `sigtimedwait' and `sigwaitinfo'. This complies with IEEE Std 1003.1-2001.
Diffstat (limited to 'lib/libc_r/uthread')
-rw-r--r--lib/libc_r/uthread/uthread_sigwait.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc_r/uthread/uthread_sigwait.c b/lib/libc_r/uthread/uthread_sigwait.c
index a3da75f..c245e5d 100644
--- a/lib/libc_r/uthread/uthread_sigwait.c
+++ b/lib/libc_r/uthread/uthread_sigwait.c
@@ -41,7 +41,7 @@
__weak_reference(_sigwait, sigwait);
int
-_sigwait(const sigset_t *set, int *sig)
+_sigwait(const sigset_t * __restrict set, int * __restrict sig)
{
struct pthread *curthread = _get_curthread();
int ret = 0;
OpenPOWER on IntegriCloud