diff options
author | Andrey Borodin <xformmm@amazon.com> | 2022-11-10 17:27:30 (GMT) |
---|---|---|
committer | Andrey Borodin <xformmm@amazon.com> | 2022-11-10 17:27:30 (GMT) |
commit | 812c4b13d62944fef888afe15462087a50bc245b (patch) | |
tree | 6b0e0bad5b3e6cf6e2f6ee8a5f7a981733073783 | |
parent | 214bfb325bd4db112b73859912b919aa35e12d61 (diff) | |
download | lz4-812c4b13d62944fef888afe15462087a50bc245b.zip lz4-812c4b13d62944fef888afe15462087a50bc245b.tar.gz lz4-812c4b13d62944fef888afe15462087a50bc245b.tar.bz2 |
Declare read_long_length_no_check() static
Fix #1176
-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); |