summaryrefslogtreecommitdiff
path: root/include/charset.h
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2018-08-31 21:31:34 +0200
committerAlexander Graf <agraf@suse.de>2018-09-23 21:55:29 +0200
commit75cb1cd248690e2c1b1d46081e2a25e6d2aa57f6 (patch)
tree1d2b07db2d178e9e3514fedffa38288c936966cc /include/charset.h
parent7086a71aa8a7312db7c58b3989ccce5caf4aedc7 (diff)
downloadu-boot-75cb1cd248690e2c1b1d46081e2a25e6d2aa57f6.tar.gz
u-boot-75cb1cd248690e2c1b1d46081e2a25e6d2aa57f6.tar.bz2
u-boot-75cb1cd248690e2c1b1d46081e2a25e6d2aa57f6.zip
lib: charset: remove obsolete functions
Remove functions: - utf8_to_utf16() - utf16_strcpy() - utf16_strdup() Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include/charset.h')
-rw-r--r--include/charset.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/include/charset.h b/include/charset.h
index cf41eb5e5f..90870513ef 100644
--- a/include/charset.h
+++ b/include/charset.h
@@ -168,16 +168,6 @@ size_t u16_strlen(const u16 *in);
size_t u16_strnlen(const u16 *in, size_t count);
/**
- * utf16_strcpy() - UTF16 equivalent of strcpy()
- */
-uint16_t *utf16_strcpy(uint16_t *dest, const uint16_t *src);
-
-/**
- * utf16_strdup() - UTF16 equivalent of strdup()
- */
-uint16_t *utf16_strdup(const uint16_t *s);
-
-/**
* utf16_to_utf8() - Convert an utf16 string to utf8
*
* Converts 'size' characters of the utf16 string 'src' to utf8
@@ -193,17 +183,4 @@ uint16_t *utf16_strdup(const uint16_t *s);
*/
uint8_t *utf16_to_utf8(uint8_t *dest, const uint16_t *src, size_t size);
-/**
- * utf8_to_utf16() - Convert an utf8 string to utf16
- *
- * Converts up to 'size' characters of the utf16 string 'src' to utf8
- * written to the 'dest' buffer. Stops at 0x00.
- *
- * @dest the destination buffer to write the utf8 characters
- * @src the source utf16 string
- * @size maximum number of utf16 characters to convert
- * @return the pointer to the first unwritten byte in 'dest'
- */
-uint16_t *utf8_to_utf16(uint16_t *dest, const uint8_t *src, size_t size);
-
#endif /* __CHARSET_H_ */