diff --git a/library/include/dos.h b/library/include/dos.h index 1691438..5ed0d3c 100644 --- a/library/include/dos.h +++ b/library/include/dos.h @@ -359,7 +359,7 @@ extern unsigned int (* __get_default_stack_size)(void); /* * This library falls back onto locale.library to perform string collation * in strcoll(), character conversion in toupper() and various other - * functions. This may not your intention. To restrict the library to use + * functions. This may not be your intention. To restrict the library to use * only the "C" language locale, declare the following variable in your * code and set it to FALSE, so that it overrides the default settings. * The variable value is checked during program startup and, if set to diff --git a/library/include/wchar.h b/library/include/wchar.h index dfa728f..ddcbbac 100644 --- a/library/include/wchar.h +++ b/library/include/wchar.h @@ -185,7 +185,8 @@ extern int mbsinit(const mbstate_t *ps); extern size_t mbsnrtowcs(wchar_t *restrict dst, const char **restrict src, size_t nmc, size_t len, mbstate_t *restrict ps); extern size_t mbsrtowcs(wchar_t *restrict dst, const char **restrict src, size_t len, mbstate_t *restrict ps); -extern size_t wcrtomb(char *restrict s, wchar_t wc, mbstate_t *restrict ps);extern int wcscoll_l(const wchar_t *ws1, const wchar_t *ws2, locale_t loc); +extern size_t wcrtomb(char *restrict s, wchar_t wc, mbstate_t *restrict ps); +extern int wcscoll_l(const wchar_t *ws1, const wchar_t *ws2, locale_t loc); extern size_t wcscspn(const wchar_t *ws1, const wchar_t *ws2); extern size_t wcsnrtombs(char *restrict dst, const wchar_t **restrict src, size_t nwc, size_t len, mbstate_t *restrict ps); extern wchar_t * wcsrchr(const wchar_t *ws, wchar_t wc);