Skip to content

Commit

Permalink
lib/lzo/lzo1x_compress.c: make lzogeneric1x_1_compress() static
Browse files Browse the repository at this point in the history
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/[email protected]
Signed-off-by: Jason Yan <[email protected]>
Cc: Dave Rodgman <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
JasonYanHw authored and torvalds committed Dec 16, 2020
1 parent 537cd89 commit 33fb626
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/lzo/lzo1x_compress.c
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ lzo1x_1_do_compress(const unsigned char *in, size_t in_len,
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,
void *wrkmem, const unsigned char bitstream_version)
{
Expand Down

0 comments on commit 33fb626

Please sign in to comment.