From: Arjan van de Ven <arjan@infradead.org>
To: Adrian Bunk <bunk@stusta.de>
Cc: dwmw2@infradead.org, jffs-dev@axis.com, linux-kernel@vger.kernel.org
Subject: Re: [2.6 patch] fs/jffs2/: make some functions static
Date: Sat, 23 Apr 2005 09:38:50 +0200 [thread overview]
Message-ID: <1114241931.6273.1.camel@laptopd505.fenrus.org> (raw)
In-Reply-To: <20050423000050.GK4355@stusta.de>
On Sat, 2005-04-23 at 02:00 +0200, Adrian Bunk wrote:
> This patch makes some needlessly global functions static.
>
> Signed-off-by: Adrian Bunk <bunk@stusta.de>
>
> ---
>
> fs/jffs2/compr_rubin.c | 18 ++++++++++++------
> --- linux-2.6.12-rc2-mm3-full/fs/jffs2/compr_rubin.c.old 2005-04-20 23:28:57.000000000 +0200
> +++ linux-2.6.12-rc2-mm3-full/fs/jffs2/compr_rubin.c 2005-04-20 23:30:09.000000000 +0200
> @@ -228,8 +228,10 @@
> return rubin_do_compress(BIT_DIVIDER_MIPS, bits_mips, data_in, cpage_out, sourcelen, dstlen);
> }
> #endif
> -int jffs2_dynrubin_compress(unsigned char *data_in, unsigned char *cpage_out,
> - uint32_t *sourcelen, uint32_t *dstlen, void *model)
> +static int jffs2_dynrubin_compress(unsigned char *data_in,
> + unsigned char *cpage_out,
> + uint32_t *sourcelen, uint32_t *dstlen,
> + void *model)
> {
> int bits[8];
> unsigned char histo[256];
> @@ -306,15 +308,19 @@
> }
>
>
> -int jffs2_rubinmips_decompress(unsigned char *data_in, unsigned char *cpage_out,
> - uint32_t sourcelen, uint32_t dstlen, void *model)
> +static int jffs2_rubinmips_decompress(unsigned char *data_in,
> + unsigned char *cpage_out,
> + uint32_t sourcelen, uint32_t dstlen,
> + void *model)
> {
> rubin_do_decompress(BIT_DIVIDER_MIPS, bits_mips, data_in, cpage_out, sourcelen, dstlen);
> return 0;
> }
>
> -int jffs2_dynrubin_decompress(unsigned char *data_in, unsigned char *cpage_out,
> - uint32_t sourcelen, uint32_t dstlen, void *model)
> +static int jffs2_dynrubin_decompress(unsigned char *data_in,
> + unsigned char *cpage_out,
> + uint32_t sourcelen, uint32_t dstlen,
> + void *model)
> {
> int bits[8];
> int c;
Acked-by: Arjan van de Ven <arjanv@infradead.org>
next prev parent reply other threads:[~2005-04-23 7:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-23 0:00 Adrian Bunk
2005-04-23 7:38 ` Arjan van de Ven [this message]
2005-05-01 15:42 Adrian Bunk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1114241931.6273.1.camel@laptopd505.fenrus.org \
--to=arjan@infradead.org \
--cc=bunk@stusta.de \
--cc=dwmw2@infradead.org \
--cc=jffs-dev@axis.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®