Commit 33fb626b authored by Jason Yan's avatar Jason Yan Committed by Linus Torvalds

lib/lzo/lzo1x_compress.c: make lzogeneric1x_1_compress() static

Fix the following sparse warning:

  lib/lzo/lzo1x_compress.c:304:5: warning: symbol 'lzogeneric1x_1_compress' was not declared. Should it be static?

Link: https://lkml.kernel.org/r/20201020031415.136874-1-yanaijie@huawei.comSigned-off-by: default avatarJason Yan <yanaijie@huawei.com>
Cc: Dave Rodgman <dave.rodgman@arm.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 537cd894
...@@ -301,7 +301,7 @@ lzo1x_1_do_compress(const unsigned char *in, size_t in_len, ...@@ -301,7 +301,7 @@ lzo1x_1_do_compress(const unsigned char *in, size_t in_len,
return in_end - (ii - ti); return in_end - (ii - ti);
} }
int lzogeneric1x_1_compress(const unsigned char *in, size_t in_len, static int lzogeneric1x_1_compress(const unsigned char *in, size_t in_len,
unsigned char *out, size_t *out_len, unsigned char *out, size_t *out_len,
void *wrkmem, const unsigned char bitstream_version) void *wrkmem, const unsigned char bitstream_version)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment