aboutsummaryrefslogtreecommitdiffstats
path: root/lib/zlib_inflate/inftrees.c
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@xenotime.net>2006-06-27 05:53:26 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-27 20:32:35 -0400
commitb762450e84e20a179ee5993b065caaad99a65fbf (patch)
tree0b172aaa409d69d1947cc01a87415df717f08562 /lib/zlib_inflate/inftrees.c
parent7f32a25f63358aa993a3403c047f3ecfa6d96367 (diff)
[PATCH] zlib inflate: fix function definitions
Fix function definitions to be ANSI-compliant: lib/zlib_inflate/inffast.c:68:1: warning: non-ANSI definition of function 'inflate_fast' lib/zlib_inflate/inftrees.c:33:1: warning: non-ANSI definition of function 'zlib_inflate_table' Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'lib/zlib_inflate/inftrees.c')
-rw-r--r--lib/zlib_inflate/inftrees.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/zlib_inflate/inftrees.c b/lib/zlib_inflate/inftrees.c
index da665fbb16aa..3fe6ce5b53e5 100644
--- a/lib/zlib_inflate/inftrees.c
+++ b/lib/zlib_inflate/inftrees.c
@@ -20,13 +20,8 @@
20 table index bits. It will differ if the request is greater than the 20 table index bits. It will differ if the request is greater than the
21 longest code or if it is less than the shortest code. 21 longest code or if it is less than the shortest code.
22 */ 22 */
23int zlib_inflate_table(type, lens, codes, table, bits, work) 23int zlib_inflate_table(codetype type, unsigned short *lens, unsigned codes,
24codetype type; 24 code **table, unsigned *bits, unsigned short *work)
25unsigned short *lens;
26unsigned codes;
27code **table;
28unsigned *bits;
29unsigned short *work;
30{ 25{
31 unsigned len; /* a code's length in bits */ 26 unsigned len; /* a code's length in bits */
32 unsigned sym; /* index of code symbols */ 27 unsigned sym; /* index of code symbols */