summaryrefslogtreecommitdiff
path: root/inftrees.c
diff options
context:
space:
mode:
Diffstat (limited to 'inftrees.c')
-rw-r--r--inftrees.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/inftrees.c b/inftrees.c
index 7a45e92..ab9d74f 100644
--- a/inftrees.c
+++ b/inftrees.c
@@ -25,14 +25,14 @@ local int huft_build OF((
25 uIntf *, /* maximum lookup bits (returns actual) */ 25 uIntf *, /* maximum lookup bits (returns actual) */
26 z_stream *)); /* for zalloc function */ 26 z_stream *)); /* for zalloc function */
27 27
28local voidp falloc OF(( 28local voidpf falloc OF((
29 voidp, /* opaque pointer (not used) */ 29 voidpf, /* opaque pointer (not used) */
30 uInt, /* number of items */ 30 uInt, /* number of items */
31 uInt)); /* size of item */ 31 uInt)); /* size of item */
32 32
33local void ffree OF(( 33local void ffree OF((
34 voidp q, /* opaque pointer (not used) */ 34 voidpf q, /* opaque pointer (not used) */
35 voidp p)); /* what to free (not used) */ 35 voidpf p)); /* what to free (not used) */
36 36
37/* Tables for deflate from PKZIP's appnote.txt. */ 37/* Tables for deflate from PKZIP's appnote.txt. */
38local uInt cplens[] = { /* Copy lengths for literal codes 257..285 */ 38local uInt cplens[] = { /* Copy lengths for literal codes 257..285 */
@@ -377,8 +377,8 @@ local inflate_huft *fixed_tl;
377local inflate_huft *fixed_td; 377local inflate_huft *fixed_td;
378 378
379 379
380local voidp falloc(q, n, s) 380local voidpf falloc(q, n, s)
381voidp q; /* opaque pointer (not used) */ 381voidpf q; /* opaque pointer (not used) */
382uInt n; /* number of items */ 382uInt n; /* number of items */
383uInt s; /* size of item */ 383uInt s; /* size of item */
384{ 384{
@@ -386,13 +386,13 @@ uInt s; /* size of item */
386 "inflate_trees falloc overflow"); 386 "inflate_trees falloc overflow");
387 if (q) s++; /* to make some compilers happy */ 387 if (q) s++; /* to make some compilers happy */
388 fixed_left -= n; 388 fixed_left -= n;
389 return (voidp)(fixed_mem + fixed_left); 389 return (voidpf)(fixed_mem + fixed_left);
390} 390}
391 391
392 392
393local void ffree(q, p) 393local void ffree(q, p)
394voidp q; 394voidpf q;
395voidp p; 395voidpf p;
396{ 396{
397 Assert(0, "inflate_trees ffree called!"); 397 Assert(0, "inflate_trees ffree called!");
398 if (q) q = p; /* to make some compilers happy */ 398 if (q) q = p; /* to make some compilers happy */