# HG changeset patch # User jlarmour # Date 1083225925 0 # Node ID 812bf7d5e7fc415c1453a05ec9110245f7fcb6e7 # Parent 26840b4642385fe7f1b280a582ed3f1d94ba0c6b * src/inffixed.h: added "const" to tables that do not change in order to save RAM. Ca. 4k. diff --git a/packages/services/compress/zlib/current/ChangeLog b/packages/services/compress/zlib/current/ChangeLog --- a/packages/services/compress/zlib/current/ChangeLog +++ b/packages/services/compress/zlib/current/ChangeLog @@ -1,3 +1,8 @@ +2004-04-29 Oyvind Harboe + + * src/inffixed.h: added "const" to tables that do not + change in order to save RAM. Ca. 4k. + 2003-11-20 Andrew Lunn * tests/zlib[12].c: Modified the text to the gcc3.3 friendly. diff --git a/packages/services/compress/zlib/current/src/inffixed.h b/packages/services/compress/zlib/current/src/inffixed.h --- a/packages/services/compress/zlib/current/src/inffixed.h +++ b/packages/services/compress/zlib/current/src/inffixed.h @@ -9,7 +9,7 @@ local uInt fixed_bl = 9; local uInt fixed_bd = 5; -local inflate_huft fixed_tl[] = { +local const inflate_huft const fixed_tl [] = { {{{96,7}},256}, {{{0,8}},80}, {{{0,8}},16}, {{{84,8}},115}, {{{82,7}},31}, {{{0,8}},112}, {{{0,8}},48}, {{{0,9}},192}, {{{80,7}},10}, {{{0,8}},96}, {{{0,8}},32}, {{{0,9}},160}, @@ -139,7 +139,7 @@ local inflate_huft fixed_tl[] = { {{{82,7}},27}, {{{0,8}},111}, {{{0,8}},47}, {{{0,9}},191}, {{{0,8}},15}, {{{0,8}},143}, {{{0,8}},79}, {{{0,9}},255} }; -local inflate_huft fixed_td[] = { +local const inflate_huft fixed_td[] = { {{{80,5}},1}, {{{87,5}},257}, {{{83,5}},17}, {{{91,5}},4097}, {{{81,5}},5}, {{{89,5}},1025}, {{{85,5}},65}, {{{93,5}},16385}, {{{80,5}},3}, {{{88,5}},513}, {{{84,5}},33}, {{{92,5}},8193},