aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/lcUniConv
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-02-04 10:55:12 +0100
committerMihai Moldovan <ionic@ionic.de>2017-03-03 13:45:25 +0100
commitba27cae6369308fd3498c476bbfc3f1c554f8017 (patch)
tree85ae83bd69d0a484892e6604a46028f44f98ffe8 /nx-X11/lib/X11/lcUniConv
parent949f5e04efd80f2892f960f04a7454bc58f1d212 (diff)
downloadnx-libs-ba27cae6369308fd3498c476bbfc3f1c554f8017.tar.gz
nx-libs-ba27cae6369308fd3498c476bbfc3f1c554f8017.tar.bz2
nx-libs-ba27cae6369308fd3498c476bbfc3f1c554f8017.zip
libNX_X11/lcUTF8.c: Drop not-used X11/lcUniConv/ascii.h.
Diffstat (limited to 'nx-X11/lib/X11/lcUniConv')
-rw-r--r--nx-X11/lib/X11/lcUniConv/ascii.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/nx-X11/lib/X11/lcUniConv/ascii.h b/nx-X11/lib/X11/lcUniConv/ascii.h
deleted file mode 100644
index e32cf417e..000000000
--- a/nx-X11/lib/X11/lcUniConv/ascii.h
+++ /dev/null
@@ -1,25 +0,0 @@
-
-/*
- * ASCII
- */
-
-static int
-ascii_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n)
-{
- unsigned char c = *s;
- if (c < 0x80) {
- *pwc = (ucs4_t) c;
- return 1;
- }
- return RET_ILSEQ;
-}
-
-static int
-ascii_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n)
-{
- if (wc < 0x0080) {
- *r = wc;
- return 1;
- }
- return RET_ILSEQ;
-}