Mercurial > flash_v2
changeset 1622:812bf7d5e7fc
* src/inffixed.h: added "const" to tables that do not
change in order to save RAM. Ca. 4k.
| author | jlarmour |
|---|---|
| date | Thu, 29 Apr 2004 08:05:25 +0000 |
| parents | 26840b464238 |
| children | b28e83693693 |
| files | packages/services/compress/zlib/current/ChangeLog packages/services/compress/zlib/current/src/inffixed.h |
| diffstat | 2 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/services/compress/zlib/current/ChangeLog +++ b/packages/services/compress/zlib/current/ChangeLog @@ -1,3 +1,8 @@ +2004-04-29 Oyvind Harboe <oyvind.harboe@zylin.com> + + * src/inffixed.h: added "const" to tables that do not + change in order to save RAM. Ca. 4k. + 2003-11-20 Andrew Lunn <andrew.lunn@ascom.ch> * tests/zlib[12].c: Modified the text to the gcc3.3 friendly.
--- 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},
