1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 07:07:45 +00:00

LibC: Forward-declare struct tm in wchar.h

The C standard specifies that this forward-declaration be present in
wchar.h, and is needed in order to build libstdc++.
This commit is contained in:
Daniel Bertalan 2021-09-18 08:47:41 +02:00 committed by Linus Groh
parent 20986b7066
commit b5fcb10493

View file

@ -24,6 +24,8 @@ typedef struct {
unsigned int stored_bytes;
} mbstate_t;
struct tm;
size_t wcslen(const wchar_t*);
wchar_t* wcscpy(wchar_t*, const wchar_t*);
wchar_t* wcsncpy(wchar_t*, const wchar_t*, size_t);