From 424bc594eadb45ffa989d1e91c3d74fdc5f73cb0 Mon Sep 17 00:00:00 2001 From: shilei Date: Tue, 12 Jul 2022 10:45:16 +0800 Subject: [PATCH] support iccarm Signed-off-by: shilei Change-Id: I5bc772ea974a1d188a8b0b9a9684f7acf4525757 --- inftrees.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/inftrees.c b/inftrees.c index 09462a7..f105a67 100644 --- a/inftrees.c +++ b/inftrees.c @@ -29,13 +29,9 @@ const char inflate_copyright[] = table index bits. It will differ if the request is greater than the longest code or if it is less than the shortest code. */ -int ZLIB_INTERNAL inflate_table(type, lens, codes, table, bits, work) -codetype type; -unsigned short FAR *lens; -unsigned codes; -code FAR * FAR *table; -unsigned FAR *bits; -unsigned short FAR *work; +int ZLIB_INTERNAL inflate_table(codetype type, unsigned short FAR *lens, + unsigned codes, code FAR * FAR *table, + unsigned FAR *bits, unsigned short FAR *work) { unsigned len; /* a code's length in bits */ unsigned sym; /* index of code symbols */