X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Fstring%2Fwcpcpy.c;h=ef401343323b43c6216aa5c6621a8eb43486374b;hp=fdf878f64cf8ea57fa362a93329f4d8764ac6572;hb=400c5e5c8307a2ebe44ef1f203f5a15669f20347;hpb=bac03cdde1137c16b4c194e137310e2748661dcc diff --git a/src/string/wcpcpy.c b/src/string/wcpcpy.c index fdf878f6..ef401343 100644 --- a/src/string/wcpcpy.c +++ b/src/string/wcpcpy.c @@ -1,6 +1,6 @@ #include -wchar_t *wcpcpy(wchar_t *d, const wchar_t *s) +wchar_t *wcpcpy(wchar_t *restrict d, const wchar_t *restrict s) { return wcscpy(d, s) + wcslen(s); }