aboutsummaryrefslogtreecommitdiffstats
path: root/lib/zlib_deflate/deflate.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-01-09 23:54:07 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-10 11:01:57 -0500
commit87c2ce3b9305b9b723faeedf6e32ef703ec9b33a (patch)
treeb953aeb311ae08c4acdd96b2a765e8d24dc47cf8 /lib/zlib_deflate/deflate.c
parent3af13763d696468d31f71a798155b33f681f221f (diff)
[PATCH] lib/zlib*: cleanups
This patch contains the following possible cleanups: - #if 0 the following unused functions: - zlib_deflate/deflate.c: zlib_deflateSetDictionary - zlib_deflate/deflate.c: zlib_deflateParams - zlib_deflate/deflate.c: zlib_deflateCopy - zlib_inflate/infblock.c: zlib_inflate_set_dictionary - zlib_inflate/infblock.c: zlib_inflate_blocks_sync_point - zlib_inflate/inflate_sync.c: zlib_inflateSync - zlib_inflate/inflate_sync.c: zlib_inflateSyncPoint - remove the following unneeded EXPORT_SYMBOL's: - zlib_deflate/deflate_syms.c: zlib_deflateCopy - zlib_deflate/deflate_syms.c: zlib_deflateParams - zlib_inflate/inflate_syms.c: zlib_inflateSync - zlib_inflate/inflate_syms.c: zlib_inflateSyncPoint Signed-off-by: Adrian Bunk <bunk@stusta.de> Cc: Matt Mackall <mpm@selenic.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'lib/zlib_deflate/deflate.c')
-rw-r--r--lib/zlib_deflate/deflate.c6
1 files changed, 6 insertions, 0 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