which didn't exist since the last glacial era.
#define _C_WORD (_C_ALNUM | _C_INNER)
#define _C_WSTART (_C_ALPHA | _C_INNER)
-extern unsigned char _c_cat[256], _c_upper[256], _c_collate[256], _c_order[256];
+extern const unsigned char _c_cat[256], _c_upper[256];
#define Category(x) (_c_cat[(unsigned char)(x)])
#define Ccat(x,y) (Category(x) & y)
#include "lib/chartype.h"
-unsigned char _c_cat[256] = {
+const unsigned char _c_cat[256] = {
#define CHAR(code,upper,unacc,acc,cat) cat,
#include "lib/charmap.h"
#undef CHAR
#include "lib/chartype.h"
-unsigned char _c_upper[256] = {
+const unsigned char _c_upper[256] = {
#define CHAR(code,upper,unacc,acc,cat) upper,
#include "lib/charmap.h"
#undef CHAR