]> mj.ucw.cz Git - libucw.git/blobdiff - lib/str_upper.c
Use big_alloc().
[libucw.git] / lib / str_upper.c
index 2742cd4a82e72f449bb3455987732b8e05435bf7..e527956e41b36bcbae26bc5fb6059d2189e2a1b2 100644 (file)
@@ -1,13 +1,16 @@
 /*
- *     Sherlock Library -- Uppercase Map
+ *     UCW Library -- Uppercase Map
  *
- *     (c) 1997 Martin Mares, <mj@atrey.karlin.mff.cuni.cz>
+ *     (c) 1997--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_upper[256] = {
-#define CHAR(code,upper,unacc,acc,cat) upper,
-#include "charmap.h"
+const unsigned char _c_upper[256] = {
+#define CHAR(code,upper,lower,cat) upper,
+#include "lib/charmap.h"
 #undef CHAR
 };