1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00

liblzma: Use lzma_always_inline in memcmplen.h.

This commit is contained in:
Lasse Collin 2023-10-22 17:59:11 +03:00
parent dcfe563299
commit e7a86b94cd

View file

@ -49,8 +49,7 @@
/// It's rounded up to 2^n. This extra amount needs to be /// It's rounded up to 2^n. This extra amount needs to be
/// allocated in the buffers being used. It needs to be /// allocated in the buffers being used. It needs to be
/// initialized too to keep Valgrind quiet. /// initialized too to keep Valgrind quiet.
lzma_attribute((__always_inline__)) static lzma_always_inline uint32_t
static inline uint32_t
lzma_memcmplen(const uint8_t *buf1, const uint8_t *buf2, lzma_memcmplen(const uint8_t *buf1, const uint8_t *buf2,
uint32_t len, uint32_t limit) uint32_t len, uint32_t limit)
{ {