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
commit b5fcb10493
Notes: sideshowbarker 2024-07-18 02:15:54 +09:00

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);