Skip to contentSkip to conversation

lib/lzo: make lzogeneric1x_1_compress() static

PATCH Applied Jason Yan 1 participant 1 message Oct 20, 2020

lore
Share & tools
lore

Jason Yan

author
#0 lore raw

PATCH 1/1 lib/lzo: 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?

---
 lib/lzo/lzo1x_compress.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/lzo/lzo1x_compress.c +1 -1
index 8ad5ba2b86e2..76758e9296ba 100644
@@ -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)
 {
Signature · 1 line
2.25.4