From 25720abf49f39a351398bd10ab0828071ff887e1 Mon Sep 17 00:00:00 2001 From: jjohnstn Date: Fri, 5 Dec 2003 01:36:32 +0000 Subject: [PATCH] 2003-12-04 Jeff Johnston * libc/include/wchar.h: Add prototypes for _mbrtowc_r, _wcrtomb_r, and _wcsrtombs_r. --- newlib/ChangeLog | 5 +++++ newlib/libc/include/wchar.h | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 3a25738a10..2d09818c92 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2003-12-04 Jeff Johnston + + * libc/include/wchar.h: Add prototypes for _mbrtowc_r, + _wcrtomb_r, and _wcsrtombs_r. + 2003-12-01 Corinna Vinschen * libc/include/sys/fcntl.h: Don't define struct flock when on diff --git a/newlib/libc/include/wchar.h b/newlib/libc/include/wchar.h index 9e89537396..d532b9cfdf 100644 --- a/newlib/libc/include/wchar.h +++ b/newlib/libc/include/wchar.h @@ -42,10 +42,15 @@ wint_t _EXFUN(btowc, (int)); int _EXFUN(wctob, (wint_t)); size_t _EXFUN(mbrlen, (const char * , size_t, mbstate_t *)); size_t _EXFUN(mbrtowc, (wchar_t * , const char * , size_t, mbstate_t *)); +size_t _EXFUN(_mbrtowc_r, (struct _reent *, wchar_t * , const char * , + size_t, mbstate_t *)); int _EXFUN(mbsinit, (const mbstate_t *)); size_t _EXFUN(mbsrtowcs, (wchar_t * , const char ** , size_t, mbstate_t *)); size_t _EXFUN(wcrtomb, (char * , wchar_t, mbstate_t *)); +size_t _EXFUN(_wcrtomb_r, (struct _reent *, char * , wchar_t, mbstate_t *)); size_t _EXFUN(wcsrtombs, (char * , const wchar_t ** , size_t, mbstate_t *)); +size_t _EXFUN(_wcsrtombs_r, (struct _reent *, char * , const wchar_t ** , + size_t, mbstate_t *)); wchar_t *_EXFUN(wcscat, (wchar_t * , const wchar_t *)); wchar_t *_EXFUN(wcschr, (const wchar_t *, wchar_t)); int _EXFUN(wcscmp, (const wchar_t *, const wchar_t *)); -- 2.11.0