diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2014-12-08 14:42:35 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-12-09 09:59:10 +0100 |
commit | 42c8b4589a9bd021df7bc6d52dd603dbf99164e5 (patch) | |
tree | 279150521e9222eb91dc07fcf213c41b99a6f952 /include | |
parent | 26793cc2cc75a29dd9924b0e53cbc2a7c77996bd (diff) | |
download | barebox-42c8b4589a9bd021df7bc6d52dd603dbf99164e5.tar.gz barebox-42c8b4589a9bd021df7bc6d52dd603dbf99164e5.tar.xz |
lib: add wchar strdup
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/wchar.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/wchar.h b/include/wchar.h index 80dcd81bf4..702d8e239a 100644 --- a/include/wchar.h +++ b/include/wchar.h @@ -5,6 +5,8 @@ typedef u16 wchar_t; +wchar_t *strdup_wchar(const wchar_t *src); + char *strcpy_wchar_to_char(char *dst, const wchar_t *src); wchar_t *strcpy_char_to_wchar(wchar_t *dst, const char *src); |