diff options
author | Yann Collet <Cyan4973@users.noreply.github.com> | 2022-12-03 00:59:51 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-03 00:59:51 (GMT) |
commit | 002a2756e501f352e5d162b3764c57cb055b346f (patch) | |
tree | 742d24af770e116b55b9bc8caa5dd1d93708f28d | |
parent | d879e7f15a7c392fc590123eaf3620128ff8106e (diff) | |
parent | 812c4b13d62944fef888afe15462087a50bc245b (diff) | |
download | lz4-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |