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

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

.../glibc$ grep_glibc_prototype wcstok
wcsmbs/wchar.h:217:
extern wchar_t *wcstok (wchar_t *__restrict __s,
const wchar_t *__restrict __delim,
wchar_t **__restrict __ptr) __THROW;
.../glibc$

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