From: Alejandro Colomar Date: Wed, 24 Feb 2021 14:43:09 +0000 (+0100) Subject: fputws.3: SYNOPSIS: Use 'restrict' in prototypes X-Git-Tag: man-pages-5.11~117 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7bbdaf7b8bf853a1fad09c857a61d104cdfefb7;p=thirdparty%2Fman-pages.git fputws.3: SYNOPSIS: Use 'restrict' in prototypes Both POSIX and glibc use 'restrict' in fputws(). Let's use it here too. glibc: ============================= fputws wcsmbs/wchar.h:765: int fputws (const wchar_t *restrict ws, FILE *restrict stream); Signed-off-by: Alejandro Colomar Signed-off-by: Michael Kerrisk --- diff --git a/man3/fputws.3 b/man3/fputws.3 index 604c960389..7269353f7d 100644 --- a/man3/fputws.3 +++ b/man3/fputws.3 @@ -20,7 +20,7 @@ fputws \- write a wide-character string to a FILE stream .nf .B #include .PP -.BI "int fputws(const wchar_t *" ws ", FILE *" stream ); +.BI "int fputws(const wchar_t *restrict " ws ", FILE *restrict " stream ); .fi .SH DESCRIPTION The