X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Fstring%2Fwcpcpy.c;h=ef401343323b43c6216aa5c6621a8eb43486374b;hp=fdf878f64cf8ea57fa362a93329f4d8764ac6572;hb=03b0f13e908eb61c1218db5e4478f0162fa98f5a;hpb=e0614f7cd418afedd06c9bcd5abb965608bc52f8 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); }