summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libc/include/wchar.h5
2 files changed, 10 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 3a25738a1..2d09818c9 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,8 @@
+2003-12-04 Jeff Johnston <jjohnstn@redhat.com>
+
+ * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
+ _wcrtomb_r, and _wcsrtombs_r.
+
2003-12-01 Corinna Vinschen <corinna@vinschen.de>
* 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 9e8953739..d532b9cfd 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 *));