mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-02 14:19:48 +00:00
LibC: Fix wcsrchr declaration to return a non-const wchar*
This is how the standard specifies it; similarly to the already correctly declared wcschr function.
This commit is contained in:
parent
763a69d46d
commit
e6164d35fa
Notes:
sideshowbarker
2024-07-18 02:15:34 +09:00
Author: https://github.com/BertalanD
Commit: e6164d35fa
Pull-request: https://github.com/SerenityOS/serenity/pull/9378
Reviewed-by: https://github.com/ADKaster ✅
Reviewed-by: https://github.com/itamar8910
Reviewed-by: https://github.com/linusg ✅
Reviewed-by: https://github.com/nico
Reviewed-by: https://github.com/timschumi
2 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@ wchar_t* wcsncpy(wchar_t*, const wchar_t*, size_t);
|
|||
int wcscmp(const wchar_t*, const wchar_t*);
|
||||
int wcsncmp(const wchar_t*, const wchar_t*, size_t);
|
||||
wchar_t* wcschr(const wchar_t*, int);
|
||||
const wchar_t* wcsrchr(const wchar_t*, wchar_t);
|
||||
wchar_t* wcsrchr(const wchar_t*, wchar_t);
|
||||
wchar_t* wcscat(wchar_t*, const wchar_t*);
|
||||
wchar_t* wcsncat(wchar_t*, const wchar_t*, size_t);
|
||||
wchar_t* wcstok(wchar_t*, const wchar_t*, wchar_t**);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue