From 6958ec0912f2c6ef5d632950b973288aadc77b11 Mon Sep 17 00:00:00 2001 From: ben Date: Sun, 5 Jan 2003 23:36:53 +0000 Subject: [PATCH] zlib_disable_compression() and zlib_huflookup() are unused outside this file. Make them static. git-svn-id: svn://svn.tartarus.org/sgt/putty@2485 cda61777-01e9-0310-a592-d414129be87e --- sshzlib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sshzlib.c b/sshzlib.c index 58069b60..d652d5c8 100644 --- a/sshzlib.c +++ b/sshzlib.c @@ -610,7 +610,7 @@ void zlib_compress_cleanup(void *handle) * length adjustment (which is only valid for packets < 65536 * bytes, but that seems reasonable enough). */ -int zlib_disable_compression(void *handle) +static int zlib_disable_compression(void *handle) { struct LZ77Context *ectx = (struct LZ77Context *)handle; struct Outbuf *out = (struct Outbuf *) ectx->userdata; @@ -974,7 +974,7 @@ void zlib_decompress_cleanup(void *handle) sfree(dctx); } -int zlib_huflookup(unsigned long *bitsp, int *nbitsp, +static int zlib_huflookup(unsigned long *bitsp, int *nbitsp, struct zlib_table *tab) { unsigned long bits = *bitsp; -- 2.11.0