]> mj.ucw.cz Git - libucw.git/blobdiff - lib/str_ctype.c
Free thread context structure on thread termination.
[libucw.git] / lib / str_ctype.c
index fa7192065af18406c562c01cfcfa4fd0ad2b5533..2857d8e4e094be4ea46503979e1361a99cb2f6ee 100644 (file)
@@ -1,13 +1,16 @@
 /*
- *     Sherlock Library -- Character Classes
+ *     UCW Library -- Character Classes
  *
- *     (c) 1997 Martin Mares, <mj@atrey.karlin.mff.cuni.cz>
+ *     (c) 1998--2004 Martin Mares <mj@ucw.cz>
+ *
+ *     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
 };