summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Collet <Cyan4973@users.noreply.github.com>2022-12-03 00:59:51 (GMT)
committerGitHub <noreply@github.com>2022-12-03 00:59:51 (GMT)
commit002a2756e501f352e5d162b3764c57cb055b346f (patch)
tree742d24af770e116b55b9bc8caa5dd1d93708f28d
parentd879e7f15a7c392fc590123eaf3620128ff8106e (diff)
parent812c4b13d62944fef888afe15462087a50bc245b (diff)
downloadlz4-002a2756e501f352e5d162b3764c57cb055b346f.zip
lz4-002a2756e501f352e5d162b3764c57cb055b346f.tar.gz
lz4-002a2756e501f352e5d162b3764c57cb055b346f.tar.bz2
Merge pull request #1188 from x4m/static_function
Declare read_long_length_no_check() static
-rw-r--r--lib/lz4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lz4.c b/lib/lz4.c
index 8796f78..6f09b73 100644
--- a/lib/lz4.c
+++ b/lib/lz4.c
@@ -1786,7 +1786,7 @@ typedef enum { decode_full_block = 0, partial_decode = 1 } earlyEnd_directive;
* does not know end of input
* presumes input is well formed
* note : will consume at least one byte */
-size_t read_long_length_no_check(const BYTE** pp)
+static size_t read_long_length_no_check(const BYTE** pp)
{
size_t b, l = 0;
do { b = **pp; (*pp)++; l += b; } while (b==255);