X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=charset%2Funicode.h;h=50d4ed777024000a306ef445384a5fa037389a29;hb=abba9373525dbfa8fb8dfcb0505e7ae682357983;hp=36336c8e3e2585b5d58c138f769d017fe2dd367c;hpb=0860307de69e9a3fe012afb5311465a5ff1f1186;p=libucw.git diff --git a/charset/unicode.h b/charset/unicode.h index 36336c8e..50d4ed77 100644 --- a/charset/unicode.h +++ b/charset/unicode.h @@ -1,16 +1,15 @@ /* * The UniCode Library * - * (c) 1997 Martin Mares, + * (c) 1997 Martin Mares */ #ifndef _UNICODE_H #define _UNICODE_H -#include "lib/config.h" #include "lib/chartype.h" -extern byte *_U_cat[], *_U_sig[]; +extern byte *_U_cat[]; extern word *_U_upper[], *_U_lower[], *_U_unaccent[]; static inline uns Ucategory(word x) @@ -39,14 +38,6 @@ static inline word Uunaccent(word x) return w ? w : x; } -static inline byte Usig(word x) -{ - if (_U_sig[x >> 8U]) - return _U_sig[x >> 8U][x & 0xff] ? : 0xff; - else - return 0xff; -} - #define UCat(x,y) (Ucategory(x) & (y)) #define Uupper(x) UCat(x, _C_UPPER)