OSDN Git Service

lib: make LZ4_decompress_safe_forceExtDict() static
authorTiezhu Yang <yangtiezhu@loongson.cn>
Mon, 27 Jun 2022 03:02:45 +0000 (11:02 +0800)
committerakpm <akpm@linux-foundation.org>
Mon, 18 Jul 2022 00:31:39 +0000 (17:31 -0700)
commit2d8867f3e0833963dd4af64bed2fb47ed5cf55d8
treede9c50f14e6b58da789817ef06a0363840331023
parentcda83bb8a61e6d7ce231dc1c2b78a9b79b1f1411
lib: make LZ4_decompress_safe_forceExtDict() static

LZ4_decompress_safe_forceExtDict() is only used in
lib/lz4/lz4_decompress.c, make it static to fix the build warning about
"no previous prototype" [1].

[1] https://lore.kernel.org/lkml/202206260948.akgsho1q-lkp@intel.com/

Link: https://lkml.kernel.org/r/1656298965-8698-1-git-send-email-yangtiezhu@loongson.cn
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/lz4/lz4_decompress.c