* [PATCH] compr_zlib: mark local functions as static
@ 2010-09-23 2:34 Mike Frysinger
2010-09-23 13:36 ` Artem Bityutskiy
0 siblings, 1 reply; 2+ messages in thread
From: Mike Frysinger @ 2010-09-23 2:34 UTC (permalink / raw)
To: linux-mtd
Signed-off-by: Mike Frysinger <vapier@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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] compr_zlib: mark local functions as static
2010-09-23 2:34 [PATCH] compr_zlib: mark local functions as static Mike Frysinger
@ 2010-09-23 13:36 ` Artem Bityutskiy
0 siblings, 0 replies; 2+ messages in thread
From: Artem Bityutskiy @ 2010-09-23 13:36 UTC (permalink / raw)
To: Mike Frysinger; +Cc: linux-mtd
On Wed, 2010-09-22 at 22:34 -0400, Mike Frysinger wrote:
> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
> ---
> compr_zlib.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
Pushed to mtd-utils, thanks!
--
Best Regards,
Artem Bityutskiy (Артём Битюцкий)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-09-23 13:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-23 2:34 [PATCH] compr_zlib: mark local functions as static Mike Frysinger
2010-09-23 13:36 ` Artem Bityutskiy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).