]> mj.ucw.cz Git - libucw.git/blobdiff - lib/str_ctype.c
Use big_alloc().
[libucw.git] / lib / str_ctype.c
index f92fd3dfbae9d763f948ee67a9c356da3d63d035..2857d8e4e094be4ea46503979e1361a99cb2f6ee 100644 (file)
@@ -1,7 +1,7 @@
 /*
- *     Sherlock Library -- Character Classes
+ *     UCW Library -- Character Classes
  *
- *     (c) 1998 Martin Mares <mj@ucw.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.
@@ -9,8 +9,8 @@
 
 #include "lib/chartype.h"
 
-unsigned char _c_cat[256] = {
-#define CHAR(code,upper,unacc,acc,cat) cat,
+const unsigned char _c_cat[256] = {
+#define CHAR(code,upper,lower,cat) cat,
 #include "lib/charmap.h"
 #undef CHAR
 };