Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Dan Streetman and committed by
Herbert Xu
f7ead7b4 608f37d0

+2 -2
+2 -2
lib/842/842_decompress.c
··· 214 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 219 switch (n) { 220 220 case 2: ··· 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 233 int i, ret = 0; 234 234