X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Fstr_ctype.c;h=2857d8e4e094be4ea46503979e1361a99cb2f6ee;hb=231e128f91f6cc7f23f5d2392dffaa7857f1dcfa;hp=773d78436f1ef30b6316900f5a990f0ae973e8f3;hpb=6c94d4d63a3086692733c2f6a1fbf8206bf1b7e4;p=libucw.git diff --git a/lib/str_ctype.c b/lib/str_ctype.c index 773d7843..2857d8e4 100644 --- a/lib/str_ctype.c +++ b/lib/str_ctype.c @@ -1,13 +1,16 @@ /* - * Sherlock Library -- Character Classes + * UCW Library -- Character Classes * - * (c) 1998 Martin Mares, + * (c) 1998--2004 Martin Mares + * + * This software may be freely distributed and used according to the terms + * of the GNU Lesser General Public License. */ -#include "string.h" +#include "lib/chartype.h" -unsigned char _c_cat[256] = { -#define CHAR(code,upper,unacc,acc,cat) cat, -#include "charmap.h" +const unsigned char _c_cat[256] = { +#define CHAR(code,upper,lower,cat) cat, +#include "lib/charmap.h" #undef CHAR };