aboutsummaryrefslogtreecommitdiff
path: root/jccolor.c
diff options
context:
space:
mode:
authordcommander <dcommander@632fc199-4ca6-4c93-a231-07263d6284db>2010-11-23 18:00:46 +0000
committerdcommander <dcommander@632fc199-4ca6-4c93-a231-07263d6284db>2010-11-23 18:00:46 +0000
commit7f3384828fa2e89ff8eef1962d9e2ce205040830 (patch)
treec7d012455681f4065b5e31f7ef554240034be1ca /jccolor.c
parent5f0b8034c3c5a33b112435099f8369d9c451ab03 (diff)
Eliminate spurious global symbols
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@303 632fc199-4ca6-4c93-a231-07263d6284db
Diffstat (limited to 'jccolor.c')
-rw-r--r--jccolor.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/jccolor.c b/jccolor.c
index 2e2bfd2..fe979b2 100644
--- a/jccolor.c
+++ b/jccolor.c
@@ -83,7 +83,7 @@ typedef my_color_converter * my_cconvert_ptr;
#if BITS_IN_JSAMPLE == 8
-const unsigned char red_lut[256] = {
+static const unsigned char red_lut[256] = {
0 , 0 , 1 , 1 , 1 , 1 , 2 , 2 , 2 , 3 , 3 , 3 , 4 , 4 , 4 , 4 ,
5 , 5 , 5 , 6 , 6 , 6 , 7 , 7 , 7 , 7 , 8 , 8 , 8 , 9 , 9 , 9 ,
10, 10, 10, 10, 11, 11, 11, 12, 12, 12, 13, 13, 13, 13, 14, 14,
@@ -102,7 +102,7 @@ const unsigned char red_lut[256] = {
72, 72, 72, 73, 73, 73, 74, 74, 74, 74, 75, 75, 75, 76, 76, 76
};
-const unsigned char green_lut[256] = {
+static const unsigned char green_lut[256] = {
0 , 1 , 1 , 2 , 2 , 3 , 4 , 4 , 5 , 5 , 6 , 6 ,
7 , 8 , 8 , 9 , 9 , 10 , 11 , 11 , 12 , 12 , 13 , 14 ,
14 , 15 , 15 , 16 , 16 , 17 , 18 , 18 , 19 , 19 , 20 , 21 ,
@@ -127,7 +127,7 @@ const unsigned char green_lut[256] = {
148, 149, 149, 150
};
-const unsigned char blue_lut[256] = {
+static const unsigned char blue_lut[256] = {
0 , 0 , 0 , 0 , 0 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 2 , 2 ,
2 , 2 , 2 , 2 , 2 , 2 , 3 , 3 , 3 , 3 , 3 , 3 , 3 , 3 , 3 , 4 ,
4 , 4 , 4 , 4 , 4 , 4 , 4 , 4 , 5 , 5 , 5 , 5 , 5 , 5 , 5 , 5 ,