Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f7ead7b4 authored by Dan Streetman's avatar Dan Streetman Committed by Herbert Xu
Browse files

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: default avatarFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: default avatarFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: default avatarDan Streetman <ddstreet@ieee.org>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 608f37d0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;