summaryrefslogtreecommitdiff
path: root/emu/Nt/ie-os.c
diff options
context:
space:
mode:
Diffstat (limited to 'emu/Nt/ie-os.c')
-rw-r--r--emu/Nt/ie-os.c36
1 files changed, 0 insertions, 36 deletions
diff --git a/emu/Nt/ie-os.c b/emu/Nt/ie-os.c
index f97b4e32..3e2654e7 100644
--- a/emu/Nt/ie-os.c
+++ b/emu/Nt/ie-os.c
@@ -789,39 +789,3 @@ segflush(void *a, ulong n)
{
return 0;
}
-
-wchar_t *
-widen(char *s)
-{
- int n;
- wchar_t *ws;
-
- n = utflen(s) + 1;
- ws = smalloc(n*sizeof(wchar_t));
- utftorunes(ws, s, n);
- return ws;
-}
-
-
-char *
-narrowen(wchar_t *ws)
-{
- char *s;
- int n;
-
- n = widebytes(ws);
- s = smalloc(n);
- runestoutf(s, ws, n);
- return s;
-}
-
-
-int
-widebytes(wchar_t *ws)
-{
- int n = 0;
-
- while (*ws)
- n += runelen(*ws++);
- return n+1;
-}