diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-02-04 10:55:12 +0100 |
---|---|---|
committer | Mihai Moldovan <ionic@ionic.de> | 2017-03-03 13:45:25 +0100 |
commit | ba27cae6369308fd3498c476bbfc3f1c554f8017 (patch) | |
tree | 85ae83bd69d0a484892e6604a46028f44f98ffe8 | |
parent | 949f5e04efd80f2892f960f04a7454bc58f1d212 (diff) | |
download | nx-libs-ba27cae6369308fd3498c476bbfc3f1c554f8017.tar.gz nx-libs-ba27cae6369308fd3498c476bbfc3f1c554f8017.tar.bz2 nx-libs-ba27cae6369308fd3498c476bbfc3f1c554f8017.zip |
libNX_X11/lcUTF8.c: Drop not-used X11/lcUniConv/ascii.h.
-rw-r--r-- | nx-X11/lib/X11/lcUTF8.c | 3 | ||||
-rw-r--r-- | nx-X11/lib/X11/lcUniConv/ascii.h | 25 |
2 files changed, 0 insertions, 28 deletions
diff --git a/nx-X11/lib/X11/lcUTF8.c b/nx-X11/lib/X11/lcUTF8.c index 38201573e..5899338f1 100644 --- a/nx-X11/lib/X11/lcUTF8.c +++ b/nx-X11/lib/X11/lcUTF8.c @@ -163,9 +163,6 @@ typedef struct _Utf8ConvRec { #include "lcUniConv/utf8.h" #include "lcUniConv/ucs2be.h" -#ifdef notused -#include "lcUniConv/ascii.h" -#endif #include "lcUniConv/iso8859_1.h" #include "lcUniConv/iso8859_2.h" #include "lcUniConv/iso8859_3.h" 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; -} |