wcscpy.3: SYNOPSIS: Use 'restrict' in prototypes
commita6a3fd6675bc69b9c506ac45ea922dc924bb306a
authorAlejandro Colomar <alx.manpages@gmail.com>
Thu, 11 Mar 2021 22:33:21 +0000 (11 23:33 +0100)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Sun, 14 Mar 2021 20:55:58 +0000 (14 21:55 +0100)
tree50ade0c6b242d4c34d7345634e9a9182027c2619
parent454eddea7a5189fe242fb0999b36ca474d5d88b5
wcscpy.3: SYNOPSIS: Use 'restrict' in prototypes

Both POSIX and glibc use 'restrict' in wcscpy().
Let's use it here too.

.../glibc$ grep_glibc_prototype wcscpy
wcsmbs/wchar.h:87:
extern wchar_t *wcscpy (wchar_t *__restrict __dest,
const wchar_t *__restrict __src)
     __THROW __nonnull ((1, 2));
.../glibc$

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man3/wcscpy.3