diff options
Diffstat (limited to 'lib/zlib_inflate/inflate_sync.c')
-rw-r--r-- | lib/zlib_inflate/inflate_sync.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/zlib_inflate/inflate_sync.c b/lib/zlib_inflate/inflate_sync.c index e07bdb21f55c..61411ff89d61 100644 --- a/lib/zlib_inflate/inflate_sync.c +++ b/lib/zlib_inflate/inflate_sync.c | |||
@@ -7,6 +7,7 @@ | |||
7 | #include "infblock.h" | 7 | #include "infblock.h" |
8 | #include "infutil.h" | 8 | #include "infutil.h" |
9 | 9 | ||
10 | #if 0 | ||
10 | int zlib_inflateSync( | 11 | int zlib_inflateSync( |
11 | z_streamp z | 12 | z_streamp z |
12 | ) | 13 | ) |
@@ -57,6 +58,7 @@ int zlib_inflateSync( | |||
57 | z->state->mode = BLOCKS; | 58 | z->state->mode = BLOCKS; |
58 | return Z_OK; | 59 | return Z_OK; |
59 | } | 60 | } |
61 | #endif /* 0 */ | ||
60 | 62 | ||
61 | 63 | ||
62 | /* Returns true if inflate is currently at the end of a block generated | 64 | /* Returns true if inflate is currently at the end of a block generated |
@@ -66,6 +68,7 @@ int zlib_inflateSync( | |||
66 | * decompressing, PPP checks that at the end of input packet, inflate is | 68 | * decompressing, PPP checks that at the end of input packet, inflate is |
67 | * waiting for these length bytes. | 69 | * waiting for these length bytes. |
68 | */ | 70 | */ |
71 | #if 0 | ||
69 | int zlib_inflateSyncPoint( | 72 | int zlib_inflateSyncPoint( |
70 | z_streamp z | 73 | z_streamp z |
71 | ) | 74 | ) |
@@ -74,6 +77,7 @@ int zlib_inflateSyncPoint( | |||
74 | return Z_STREAM_ERROR; | 77 | return Z_STREAM_ERROR; |
75 | return zlib_inflate_blocks_sync_point(z->state->blocks); | 78 | return zlib_inflate_blocks_sync_point(z->state->blocks); |
76 | } | 79 | } |
80 | #endif /* 0 */ | ||
77 | 81 | ||
78 | /* | 82 | /* |
79 | * This subroutine adds the data at next_in/avail_in to the output history | 83 | * This subroutine adds the data at next_in/avail_in to the output history |