From: Alejandro Colomar Date: Wed, 10 Mar 2021 18:31:33 +0000 (+0100) Subject: sigwait.3: SYNOPSIS: Use 'restrict' in prototypes X-Git-Tag: man-pages-5.11~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b3f94cb8980dfbbf3fd7f3577e423d4f0474444;p=thirdparty%2Fman-pages.git sigwait.3: SYNOPSIS: Use 'restrict' in prototypes Both POSIX and glibc use 'restrict' in sigwait(). Let's use it here too. .../glibc$ grep_glibc_prototype sigwait signal/signal.h:255: extern int sigwait (const sigset_t *__restrict __set, int *__restrict __sig) __nonnull ((1, 2)); .../glibc$ Signed-off-by: Alejandro Colomar Signed-off-by: Michael Kerrisk --- diff --git a/man3/sigwait.3 b/man3/sigwait.3 index 47c79a24d8..30b7af5684 100644 --- a/man3/sigwait.3 +++ b/man3/sigwait.3 @@ -30,7 +30,7 @@ sigwait \- wait for a signal .nf .B #include .PP -.BI "int sigwait(const sigset_t *" set ", int *" sig ); +.BI "int sigwait(const sigset_t *restrict " set ", int *restrict " sig ); .fi .PP .RS -4