X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Fchartype.h;h=ef08205e9777db000edcc39c6ccd90a81296dd0e;hb=e7bac31dc00a4127dafcc76e7b85a74c8fe864fa;hp=0276e20e4faf058c26c35a6787d2b9def9135e74;hpb=2f2c7a44d81ed79bb7b719f09b432db6d1c67987;p=libucw.git diff --git a/lib/chartype.h b/lib/chartype.h index 0276e20e..ef08205e 100644 --- a/lib/chartype.h +++ b/lib/chartype.h @@ -2,6 +2,9 @@ * Sherlock Library -- Character Types * * (c) 1997 Martin Mares + * + * This software may be freely distributed and used according to the terms + * of the GNU Lesser General Public License. */ #ifndef _SHERLOCK_CHARTYPE_H @@ -21,7 +24,7 @@ #define _C_WORD (_C_ALNUM | _C_INNER) #define _C_WSTART (_C_ALPHA | _C_INNER) -extern unsigned char _c_cat[256], _c_upper[256], _c_collate[256], _c_order[256]; +extern const unsigned char _c_cat[256], _c_upper[256]; #define Category(x) (_c_cat[(unsigned char)(x)]) #define Ccat(x,y) (Category(x) & y)