projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: pcnet: Add Kconfig entries
[platform/kernel/u-boot.git]
/
lib
/
charset.c
diff --git
a/lib/charset.c
b/lib/charset.c
index
1c6a7f6
..
a28034e
100644
(file)
--- a/
lib/charset.c
+++ b/
lib/charset.c
@@
-379,6
+379,11
@@
size_t u16_strnlen(const u16 *in, size_t count)
return i;
}
+size_t u16_strsize(const void *in)
+{
+ return (u16_strlen(in) + 1) * sizeof(u16);
+}
+
u16 *u16_strcpy(u16 *dest, const u16 *src)
{
u16 *tmp = dest;