diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-18 18:08:37 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-04-18 18:08:37 (GMT) |
commit | 95c5b39b2e335c0fc08a25281ad9097a29aee1ae (patch) | |
tree | bab392895ed17f917311f2fb0119304a49a10671 /generic/tkImgBmap.c | |
parent | 15bcec02d97d8789fa796cabdc76859618f22387 (diff) | |
download | tk-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.c | 2 |
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, |