aboutsummaryrefslogtreecommitdiffstats
path: root/src/wchar/wcsmove.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/wchar/wcsmove.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wchar/wcsmove.c b/src/wchar/wcsmove.c
index 041d194..4e2f773 100644
--- a/src/wchar/wcsmove.c
+++ b/src/wchar/wcsmove.c
@@ -212,7 +212,7 @@ wchar_t* wcscnmove(wchar_t* whither, const wchar_t* whence, wchar_t c, size_t ma
* one character passed the last written non-NUL
* character.
*/
-wchar_t* wcswcsnmove(wchar_t* whither, const wchar_t* whence, const wchar_t* restrict str, size_t maxlen)
+wchar_t* wcsstrnmove(wchar_t* whither, const wchar_t* whence, const wchar_t* restrict str, size_t maxlen)
{
const wchar_t* stop = wcsnstr(whence, str, maxlen);
size_t n = stop == NULL ? wcsnlen(whence, maxlen) : (size_t)(stop - whence);