X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Fstr_ctype.c;h=9987f09fd6fd222015e2f326a1f1f137ce83ba6a;hb=997624f88f37bec5cb96cf9fc3b3cac05ccc6ed8;hp=773d78436f1ef30b6316900f5a990f0ae973e8f3;hpb=6c94d4d63a3086692733c2f6a1fbf8206bf1b7e4;p=libucw.git diff --git a/lib/str_ctype.c b/lib/str_ctype.c index 773d7843..9987f09f 100644 --- a/lib/str_ctype.c +++ b/lib/str_ctype.c @@ -1,13 +1,16 @@ /* * Sherlock 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 };