aboutsummaryrefslogtreecommitdiffstats
path: root/lib/zlib_deflate
diff options
context:
space:
mode:
Diffstat (limited to 'lib/zlib_deflate')
-rw-r--r--lib/zlib_deflate/deflate.c6
-rw-r--r--lib/zlib_deflate/deflate_syms.c2
2 files changed, 6 insertions, 2 deletions
diff --git a/lib/zlib_deflate/deflate.c b/lib/zlib_deflate/deflate.c
index ad9a1bf4fc63..1653dd9bb01a 100644
--- a/lib/zlib_deflate/deflate.c
+++ b/lib/zlib_deflate/deflate.c
@@ -255,6 +255,7 @@ int zlib_deflateInit2_(
255} 255}
256 256
257/* ========================================================================= */ 257/* ========================================================================= */
258#if 0
258int zlib_deflateSetDictionary( 259int zlib_deflateSetDictionary(
259 z_streamp strm, 260 z_streamp strm,
260 const Byte *dictionary, 261 const Byte *dictionary,
@@ -297,6 +298,7 @@ int zlib_deflateSetDictionary(
297 if (hash_head) hash_head = 0; /* to make compiler happy */ 298 if (hash_head) hash_head = 0; /* to make compiler happy */
298 return Z_OK; 299 return Z_OK;
299} 300}
301#endif /* 0 */
300 302
301/* ========================================================================= */ 303/* ========================================================================= */
302int zlib_deflateReset( 304int zlib_deflateReset(
@@ -330,6 +332,7 @@ int zlib_deflateReset(
330} 332}
331 333
332/* ========================================================================= */ 334/* ========================================================================= */
335#if 0
333int zlib_deflateParams( 336int zlib_deflateParams(
334 z_streamp strm, 337 z_streamp strm,
335 int level, 338 int level,
@@ -365,6 +368,7 @@ int zlib_deflateParams(
365 s->strategy = strategy; 368 s->strategy = strategy;
366 return err; 369 return err;
367} 370}
371#endif /* 0 */
368 372
369/* ========================================================================= 373/* =========================================================================
370 * Put a short in the pending buffer. The 16-bit value is put in MSB order. 374 * Put a short in the pending buffer. The 16-bit value is put in MSB order.
@@ -572,6 +576,7 @@ int zlib_deflateEnd(
572/* ========================================================================= 576/* =========================================================================
573 * Copy the source state to the destination state. 577 * Copy the source state to the destination state.
574 */ 578 */
579#if 0
575int zlib_deflateCopy ( 580int zlib_deflateCopy (
576 z_streamp dest, 581 z_streamp dest,
577 z_streamp source 582 z_streamp source
@@ -624,6 +629,7 @@ int zlib_deflateCopy (
624 return Z_OK; 629 return Z_OK;
625#endif 630#endif
626} 631}
632#endif /* 0 */
627 633
628/* =========================================================================== 634/* ===========================================================================
629 * Read a new buffer from the current input stream, update the adler32 635 * Read a new buffer from the current input stream, update the adler32
diff --git a/lib/zlib_deflate/deflate_syms.c b/lib/zlib_deflate/deflate_syms.c
index 5985b28c8e30..767b573d1ef6 100644
--- a/lib/zlib_deflate/deflate_syms.c
+++ b/lib/zlib_deflate/deflate_syms.c
@@ -16,6 +16,4 @@ EXPORT_SYMBOL(zlib_deflateInit_);
16EXPORT_SYMBOL(zlib_deflateInit2_); 16EXPORT_SYMBOL(zlib_deflateInit2_);
17EXPORT_SYMBOL(zlib_deflateEnd); 17EXPORT_SYMBOL(zlib_deflateEnd);
18EXPORT_SYMBOL(zlib_deflateReset); 18EXPORT_SYMBOL(zlib_deflateReset);
19EXPORT_SYMBOL(zlib_deflateCopy);
20EXPORT_SYMBOL(zlib_deflateParams);
21MODULE_LICENSE("GPL"); 19MODULE_LICENSE("GPL");