mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 05:04:09 +08:00
lib: make lib/842 decompress functions static
Make the do_index and do_op functions static. They are used only internally by the 842 decompression function, and should be static. Reported-By: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Dan Streetman <ddstreet@ieee.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
608f37d0f8
commit
f7ead7b47a
@ -214,7 +214,7 @@ static int __do_index(struct sw842_param *p, u8 size, u8 bits, u64 fsize)
|
||||
return 0;
|
||||
}
|
||||
|
||||
int do_index(struct sw842_param *p, u8 n)
|
||||
static int do_index(struct sw842_param *p, u8 n)
|
||||
{
|
||||
switch (n) {
|
||||
case 2:
|
||||
@ -228,7 +228,7 @@ int do_index(struct sw842_param *p, u8 n)
|
||||
}
|
||||
}
|
||||
|
||||
int do_op(struct sw842_param *p, u8 o)
|
||||
static int do_op(struct sw842_param *p, u8 o)
|
||||
{
|
||||
int i, ret = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user