summaryrefslogtreecommitdiff
path: root/lib/libpthread
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/man/sigwait.32
-rw-r--r--lib/libpthread/thread/thr_sigwait.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpthread/man/sigwait.3 b/lib/libpthread/man/sigwait.3
index 24c229718b58..6a2e05ee02cd 100644
--- a/lib/libpthread/man/sigwait.3
+++ b/lib/libpthread/man/sigwait.3
@@ -37,7 +37,7 @@
.Sh SYNOPSIS
.In signal.h
.Ft int
-.Fn sigwait "const sigset_t *set" "int *sig"
+.Fn sigwait "const sigset_t * restrict set" "int * restrict sig"
.Sh DESCRIPTION
The
.Fn sigwait
diff --git a/lib/libpthread/thread/thr_sigwait.c b/lib/libpthread/thread/thr_sigwait.c
index 3cc9ff0385a5..5364d665ba85 100644
--- a/lib/libpthread/thread/thr_sigwait.c
+++ b/lib/libpthread/thread/thr_sigwait.c
@@ -42,7 +42,7 @@
__weak_reference(_sigwait, sigwait);
int
-_sigwait(const sigset_t *set, int *sig)
+_sigwait(const sigset_t * __restrict set, int * __restrict sig)
{
/*