aboutsummaryrefslogtreecommitdiffstats
path: root/src/wchar/wcsspn.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-09-02 18:21:59 +0200
committerMattias Andrée <maandree@operamail.com>2015-09-02 18:21:59 +0200
commitb436ed76ffe95eb644b4432442eb782521d8ac59 (patch)
treedc9b41b6cfd8acb473c54e75ef80ba955ea26bde /src/wchar/wcsspn.c
parentstpbrk => strpbrk (diff)
downloadslibc-b436ed76ffe95eb644b4432442eb782521d8ac59.tar.gz
slibc-b436ed76ffe95eb644b4432442eb782521d8ac59.tar.bz2
slibc-b436ed76ffe95eb644b4432442eb782521d8ac59.tar.xz
m misc wchar
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-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;