diff options
author | Elliott Hughes <enh@google.com> | 2013-03-01 18:35:56 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2013-03-01 18:35:56 -0800 |
commit | eb93ebffba21e2c9b8a12bb86db60d38c7750270 (patch) | |
tree | fcba00075768a0021c868e67b6e2160e2fc776b6 /libc/include/wchar.h | |
parent | d392e044c7a03ff1c0903c3512d00955bc7de473 (diff) | |
download | bionic-eb93ebffba21e2c9b8a12bb86db60d38c7750270.zip bionic-eb93ebffba21e2c9b8a12bb86db60d38c7750270.tar.gz bionic-eb93ebffba21e2c9b8a12bb86db60d38c7750270.tar.bz2 |
Switch to upstream-freebsd for the unmolested wchar code.
Change-Id: I87b4d76ff8da04109ae53638eec4f11629798960
Diffstat (limited to 'libc/include/wchar.h')
-rw-r--r-- | libc/include/wchar.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libc/include/wchar.h b/libc/include/wchar.h index ef88e04..a4e19f0 100644 --- a/libc/include/wchar.h +++ b/libc/include/wchar.h @@ -149,6 +149,11 @@ typedef void *wctrans_t; extern wint_t towctrans(wint_t, wctrans_t); extern wctrans_t wctrans (const char *); +#if _XOPEN_SOURCE >= 700 || _POSIX_C_SOURCE >= 200809L +wchar_t* wcsdup(const wchar_t*); +size_t wcsnlen(const wchar_t*, size_t); +#endif + __END_DECLS #endif /* _WCHAR_H_ */ |