summaryrefslogtreecommitdiffstats
path: root/generic/tkImgBmap.c
diff options
context:
space:
mode:
authorjan.nijtmans <jan.nijtmans@noemail.net>2012-04-18 18:22:03 (GMT)
committerjan.nijtmans <jan.nijtmans@noemail.net>2012-04-18 18:22:03 (GMT)
commitc1a2c8809055f8f3b2e16849ac73db23ed8dd693 (patch)
treeceb431e7d0adf6d635f33303e9e505b2a28d4bf8 /generic/tkImgBmap.c
parent59ca05177eff5d4738f0475646685ea03a855452 (diff)
parentd054e30438b53eca86150e549cf17bec6b0b55b1 (diff)
downloadtk-c1a2c8809055f8f3b2e16849ac73db23ed8dd693.zip
tk-c1a2c8809055f8f3b2e16849ac73db23ed8dd693.tar.gz
tk-c1a2c8809055f8f3b2e16849ac73db23ed8dd693.tar.bz2
make some internal tables const
FossilOrigin-Name: a1af7fc26085b8c9597f42d836d323b89d6a9335
Diffstat (limited to 'generic/tkImgBmap.c')
-rw-r--r--generic/tkImgBmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkImgBmap.c b/generic/tkImgBmap.c
index 8598e88..4f5c6ac 100644
--- a/generic/tkImgBmap.c
+++ b/generic/tkImgBmap.c
@@ -1131,7 +1131,7 @@ ImgBmapPsImagemask(
* within a byte so that the bits will be in the order postscript expects.
*/
- static unsigned char bit_reverse[] = {
+ static const unsigned char bit_reverse[] = {
0, 128, 64, 192, 32, 160, 96, 224, 16, 144, 80, 208, 48, 176, 112, 240,
8, 136, 72, 200, 40, 168, 104, 232, 24, 152, 88, 216, 56, 184, 120, 248,
4, 132, 68, 196, 36, 164, 100, 228, 20, 148, 84, 212, 52, 180, 116, 244,