diff options
Diffstat (limited to 'lib/zlib_inflate/infblock.c')
-rw-r--r-- | lib/zlib_inflate/infblock.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/zlib_inflate/infblock.c b/lib/zlib_inflate/infblock.c index 50f21ca4ef7f..c16cdeff51aa 100644 --- a/lib/zlib_inflate/infblock.c +++ b/lib/zlib_inflate/infblock.c | |||
@@ -338,6 +338,7 @@ int zlib_inflate_blocks_free( | |||
338 | } | 338 | } |
339 | 339 | ||
340 | 340 | ||
341 | #if 0 | ||
341 | void zlib_inflate_set_dictionary( | 342 | void zlib_inflate_set_dictionary( |
342 | inflate_blocks_statef *s, | 343 | inflate_blocks_statef *s, |
343 | const Byte *d, | 344 | const Byte *d, |
@@ -347,15 +348,18 @@ void zlib_inflate_set_dictionary( | |||
347 | memcpy(s->window, d, n); | 348 | memcpy(s->window, d, n); |
348 | s->read = s->write = s->window + n; | 349 | s->read = s->write = s->window + n; |
349 | } | 350 | } |
351 | #endif /* 0 */ | ||
350 | 352 | ||
351 | 353 | ||
352 | /* Returns true if inflate is currently at the end of a block generated | 354 | /* Returns true if inflate is currently at the end of a block generated |
353 | * by Z_SYNC_FLUSH or Z_FULL_FLUSH. | 355 | * by Z_SYNC_FLUSH or Z_FULL_FLUSH. |
354 | * IN assertion: s != NULL | 356 | * IN assertion: s != NULL |
355 | */ | 357 | */ |
358 | #if 0 | ||
356 | int zlib_inflate_blocks_sync_point( | 359 | int zlib_inflate_blocks_sync_point( |
357 | inflate_blocks_statef *s | 360 | inflate_blocks_statef *s |
358 | ) | 361 | ) |
359 | { | 362 | { |
360 | return s->mode == LENS; | 363 | return s->mode == LENS; |
361 | } | 364 | } |
365 | #endif /* 0 */ | ||