aboutsummaryrefslogtreecommitdiffstats
path: root/src/wchar/wcsspn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wchar/wcsspn.c')
-rw-r--r--src/wchar/wcsspn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wchar/wcsspn.c b/src/wchar/wcsspn.c
index d0ce908..239b863 100644
--- a/src/wchar/wcsspn.c
+++ b/src/wchar/wcsspn.c
@@ -75,7 +75,7 @@ size_t wcscspn(const wchar_t* string, const wchar_t* stopset)
* `string` of a character found in `stopset`.
* `NULL` is returned if none is found.
*/
-wchar_t* wcpbrk(const wchar_t* string, const wchar_t* stopset)
+wchar_t* wcspbrk(const wchar_t* string, const wchar_t* stopset)
{
string += wcscspn(string, stopset);
return *string ? string : NULL;