summaryrefslogtreecommitdiffstats
path: root/generic/tkImgBmap.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-18 18:08:37 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-04-18 18:08:37 (GMT)
commit95c5b39b2e335c0fc08a25281ad9097a29aee1ae (patch)
treebab392895ed17f917311f2fb0119304a49a10671 /generic/tkImgBmap.c
parent15bcec02d97d8789fa796cabdc76859618f22387 (diff)
downloadtk-95c5b39b2e335c0fc08a25281ad9097a29aee1ae.zip
tk-95c5b39b2e335c0fc08a25281ad9097a29aee1ae.tar.gz
tk-95c5b39b2e335c0fc08a25281ad9097a29aee1ae.tar.bz2
make some more internal tables CONST
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 e1ccecb..2542697 100644
--- a/generic/tkImgBmap.c
+++ b/generic/tkImgBmap.c
@@ -1159,7 +1159,7 @@ ImgBmapPsImagemask(interp, width, height, data)
* on the left.) The following array is used to reverse the order of bits
* 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,