summaryrefslogtreecommitdiffstats
path: root/utf8.c
diff options
context:
space:
mode:
Diffstat (limited to 'utf8.c')
-rw-r--r--utf8.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/utf8.c b/utf8.c
index 620c6bdb..c5f9f3dc 100644
--- a/utf8.c
+++ b/utf8.c
@@ -139,12 +139,6 @@ size_t utf8_from_buf(wchar_t *wdst, const unsigned char *src, size_t nbytes)
return nchar;
}
-size_t utf8_from(wchar_t *wdst, const char *src)
-{
- size_t nbytes = strlen(src);
- return utf8_from_buf(wdst, coerce(const unsigned char *, src), nbytes);
-}
-
size_t utf8_to_buf(unsigned char *dst, const wchar_t *wsrc, int null_term)
{
size_t nbyte = 0;