[PATCH] compr_zlib: mark local functions as static

Mike Frysinger vapier at gentoo.org
Wed Sep 22 22:34:24 EDT 2010


Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
 compr_zlib.c |    4 ++--
 1 files 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;
-- 
1.7.3




More information about the linux-mtd mailing list