summaryrefslogtreecommitdiff
path: root/src/thread/pthread_sigmask.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/pthread_sigmask.c')
-rw-r--r--src/thread/pthread_sigmask.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread/pthread_sigmask.c b/src/thread/pthread_sigmask.c
index cddc2bca..f6102ad4 100644
--- a/src/thread/pthread_sigmask.c
+++ b/src/thread/pthread_sigmask.c
@@ -3,7 +3,7 @@
#include <pthread.h>
#include "syscall.h"
-int pthread_sigmask(int how, const sigset_t *set, sigset_t *old)
+int pthread_sigmask(int how, const sigset_t *restrict set, sigset_t *restrict old)
{
int ret;
if ((unsigned)how - SIG_BLOCK > 2U) return EINVAL;