projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
greatly improve freopen behavior
[musl]
/
src
/
string
/
wcstok.c
diff --git
a/src/string/wcstok.c
b/src/string/wcstok.c
index
c932d0a
..
ecc8033
100644
(file)
--- a/
src/string/wcstok.c
+++ b/
src/string/wcstok.c
@@
-1,6
+1,6
@@
#include <wchar.h>
#include <wchar.h>
-wchar_t *wcstok(wchar_t *
s, const wchar_t *sep, wchar_t **
p)
+wchar_t *wcstok(wchar_t *
restrict s, const wchar_t *restrict sep, wchar_t **restrict
p)
{
if (!s && !(s = *p)) return NULL;
s += wcsspn(s, sep);
{
if (!s && !(s = *p)) return NULL;
s += wcsspn(s, sep);