summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2014-12-08 14:42:35 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2014-12-09 09:59:10 +0100
commit42c8b4589a9bd021df7bc6d52dd603dbf99164e5 (patch)
tree279150521e9222eb91dc07fcf213c41b99a6f952 /include
parent26793cc2cc75a29dd9924b0e53cbc2a7c77996bd (diff)
downloadbarebox-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.h2
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);