author | Rich Felker <dalias@aerifal.cx> | 2012年09月06日 22:44:55 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012年09月06日 22:44:55 -0400 |
commit | 400c5e5c8307a2ebe44ef1f203f5a15669f20347 (patch) | |
tree | 087a48dc8251fa05f6866af8ebf96b69450b15ab /src/string/wcpcpy.c | |
parent | bac03cdde1137c16b4c194e137310e2748661dcc (diff) | |
download | musl-400c5e5c8307a2ebe44ef1f203f5a15669f20347.tar.gz |
-rw-r--r-- | src/string/wcpcpy.c | 2 |
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.h> -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); } |