diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2009-04-09 12:24:37 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2009-04-09 12:24:37 +0400 |
commit | 9b26525ec38243245b9736272e58ee1a0d492959 (patch) | |
tree | b6b68b1d819d1a87234312dde9e9632e06264f27 /newlib/libc/stdlib | |
parent | f03f51dccf606bd9ba89991e67132bf58e6fcdf0 (diff) |
* libc/stdlib/local.h (__mbtowc): Declare extern.
(__wctomb): Ditto.
Diffstat (limited to 'newlib/libc/stdlib')
-rw-r--r-- | newlib/libc/stdlib/local.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/newlib/libc/stdlib/local.h b/newlib/libc/stdlib/local.h index 459d98bda..37856f8be 100644 --- a/newlib/libc/stdlib/local.h +++ b/newlib/libc/stdlib/local.h @@ -11,7 +11,8 @@ char *__locale_charset (); #include <wchar.h> #endif -int (*__wctomb) (struct _reent *, char *, wchar_t, const char *, mbstate_t *); +extern int (*__wctomb) (struct _reent *, char *, wchar_t, const char *, + mbstate_t *); int __ascii_wctomb (struct _reent *, char *, wchar_t, const char *, mbstate_t *); #ifdef _MB_CAPABLE @@ -29,8 +30,8 @@ int __big5_wctomb (struct _reent *, char *, wchar_t, const char *, mbstate_t *); #endif #endif -int (*__mbtowc) (struct _reent *, wchar_t *, const char *, size_t, - const char *, mbstate_t *); +extern int (*__mbtowc) (struct _reent *, wchar_t *, const char *, size_t, + const char *, mbstate_t *); int __ascii_mbtowc (struct _reent *, wchar_t *, const char *, size_t, const char *, mbstate_t *); #ifdef _MB_CAPABLE |