Skip to content

Commit 3adedae

Browse files
authored
[libc] wcstok(): explicitly say internal::wcschr().
1 parent b0492ab commit 3adedae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libc/src/wchar/wcstok.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ LLVM_LIBC_FUNCTION(wchar_t *, wcstok,
2525
}
2626

2727
wchar_t *tok_start, *tok_end;
28-
for (tok_start = str; *tok_start != L'\0' && wcschr(delims, *tok_start);
28+
for (tok_start = str; *tok_start != L'\0' && internal::wcschr(delims, *tok_start);
2929
++tok_start)
3030
;
3131

32-
for (tok_end = tok_start; *tok_end != L'\0' && !wcschr(delims, *tok_end);
32+
for (tok_end = tok_start; *tok_end != L'\0' && !internal::wcschr(delims, *tok_end);
3333
++tok_end)
3434
;
3535

0 commit comments

Comments
 (0)