ctype: make sane_ctype[] const array
[gitweb.git] / git-compat-util.h
index 5bd9ad7d2a23773b1410ded9f4f241ebe4d4da00..80767ff3a147b91bb525b5330a29339b45bb0717 100644 (file)
@@ -470,7 +470,7 @@ extern const char tolower_trans_tbl[256];
 #undef isupper
 #undef tolower
 #undef toupper
-extern unsigned char sane_ctype[256];
+extern const unsigned char sane_ctype[256];
 #define GIT_SPACE 0x01
 #define GIT_DIGIT 0x02
 #define GIT_ALPHA 0x04