From 1255c7cfa356a24204f9333cd5359e3ece655ed6 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 22 Sep 2010 22:34:24 -0400 Subject: compr_zlib: mark local functions as static Signed-off-by: Mike Frysinger Signed-off-by: Artem Bityutskiy --- compr_zlib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compr_zlib.c b/compr_zlib.c index db4811d..03464f9 100644 --- a/compr_zlib.c +++ b/compr_zlib.c @@ -52,7 +52,7 @@ Q: Is 12 bytes sufficient? */ #define STREAM_END_SPACE 12 -int jffs2_zlib_compress(unsigned char *data_in, unsigned char *cpage_out, +static int jffs2_zlib_compress(unsigned char *data_in, unsigned char *cpage_out, uint32_t *sourcelen, uint32_t *dstlen, void *model) { z_stream strm; @@ -100,7 +100,7 @@ int jffs2_zlib_compress(unsigned char *data_in, unsigned char *cpage_out, return 0; } -int jffs2_zlib_decompress(unsigned char *data_in, unsigned char *cpage_out, +static int jffs2_zlib_decompress(unsigned char *data_in, unsigned char *cpage_out, uint32_t srclen, uint32_t destlen, void *model) { z_stream strm; -- cgit v1.2.3