diff options
author | Dan Streetman <ddstreet@ieee.org> | 2015-05-11 07:22:35 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-05-13 10:31:55 +0800 |
commit | f7ead7b47a758bbee6fdc66f95f27fdb866e5e9d (patch) | |
tree | 31edec2c11bf4a274cd5de893ad4daa3886a9c57 /lib | |
parent | 608f37d0f83e4359f48121949778bf912cd56800 (diff) | |
download | linux-stable-f7ead7b47a758bbee6fdc66f95f27fdb866e5e9d.tar.gz linux-stable-f7ead7b47a758bbee6fdc66f95f27fdb866e5e9d.tar.bz2 linux-stable-f7ead7b47a758bbee6fdc66f95f27fdb866e5e9d.zip |
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>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/842/842_decompress.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/842/842_decompress.c b/lib/842/842_decompress.c index 6b2b45aecde3..dbeb0581b879 100644 --- a/lib/842/842_decompress.c +++ b/lib/842/842_decompress.c @@ -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; |