summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-09-22 22:34:24 -0400
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-09-23 16:36:33 +0300
commit1255c7cfa356a24204f9333cd5359e3ece655ed6 (patch)
treeac67649c50b5e4f7d3fc6bc835511bfe3a9e6dd5
parentb5c7f121bb0d30fa9613276bec4ab4143e148b0b (diff)
compr_zlib: mark local functions as static
Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
-rw-r--r--compr_zlib.c4
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;