LibC: Add a missing mbstowcs() declaration

This ensures it gets a C linkage, and so fixes the binutils build.
This commit is contained in:
Sergey Bugaev 2019-10-09 16:00:35 +03:00 committed by Andreas Kling
parent 475c6d7112
commit b4389ca4b0
Notes: sideshowbarker 2024-07-19 11:44:52 +09:00

View file

@ -43,6 +43,7 @@ int system(const char* command);
char* mktemp(char*);
char* mkdtemp(char*);
void* bsearch(const void* key, const void* base, size_t nmemb, size_t size, int (*compar)(const void*, const void*));
size_t mbstowcs(wchar_t*, const char*, size_t);
#define RAND_MAX 32767
int rand();