Mercurial > public > mercurial-scm > hg
diff mercurial/cext/util.h @ 32386:7640584e697c
cext: mark constant variables
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 21 May 2017 13:41:01 +0900 |
parents | 34bd3cd28dcb |
children | 5866ba5e9c48 |
line wrap: on
line diff
--- a/mercurial/cext/util.h Sun May 21 13:35:19 2017 +0900 +++ b/mercurial/cext/util.h Sun May 21 13:41:01 2017 +0900 @@ -42,7 +42,7 @@ #include <stdbool.h> #endif -static int8_t hextable[256] = { +static const int8_t hextable[256] = { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,