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-12 22:31:55 -0400 |
commit | f7ead7b47a758bbee6fdc66f95f27fdb866e5e9d (patch) | |
tree | 31edec2c11bf4a274cd5de893ad4daa3886a9c57 /lib | |
parent | 608f37d0f83e4359f48121949778bf912cd56800 (diff) |
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) | |||
214 | return 0; | 214 | return 0; |
215 | } | 215 | } |
216 | 216 | ||
217 | int do_index(struct sw842_param *p, u8 n) | 217 | static int do_index(struct sw842_param *p, u8 n) |
218 | { | 218 | { |
219 | switch (n) { | 219 | switch (n) { |
220 | case 2: | 220 | case 2: |
@@ -228,7 +228,7 @@ int do_index(struct sw842_param *p, u8 n) | |||
228 | } | 228 | } |
229 | } | 229 | } |
230 | 230 | ||
231 | int do_op(struct sw842_param *p, u8 o) | 231 | static int do_op(struct sw842_param *p, u8 o) |
232 | { | 232 | { |
233 | int i, ret = 0; | 233 | int i, ret = 0; |
234 | 234 | ||