compr_zlib: mark local functions as static
PATCH 1/1 compr_zlib: mark local functions as static
Signed-off-by Mike Frysinger <[email protected]>
--- compr_zlib.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
compr_zlib.c +2 -2
@@ -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;
Signature · 1 line
1.7.3
Artem Bityutskiy
AppliedQuoted 4 lines · Mike Frysinger
Signed-off-by Mike Frysinger <[email protected]>--- compr_zlib.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
Pushed to mtd-utils, thanks!
Signature · 2 lines
Best Regards, Artem Bityutskiy (Артём Битюцкий)