From d7bff1341e458da86d243980b4acaa8cc6ff162e Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Sun, 22 Oct 2023 17:59:11 +0300 Subject: [PATCH] liblzma: Use lzma_always_inline in memcmplen.h. (cherry picked from commit 068ee436f4a8a706125ef43e8228b30001b1554e) --- src/liblzma/common/memcmplen.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/liblzma/common/memcmplen.h b/src/liblzma/common/memcmplen.h index 1d97908d..b8709aeb 100644 --- a/src/liblzma/common/memcmplen.h +++ b/src/liblzma/common/memcmplen.h @@ -49,8 +49,7 @@ /// It's rounded up to 2^n. This extra amount needs to be /// allocated in the buffers being used. It needs to be /// initialized too to keep Valgrind quiet. -lzma_attribute((__always_inline__)) -static inline uint32_t +static lzma_always_inline uint32_t lzma_memcmplen(const uint8_t *buf1, const uint8_t *buf2, uint32_t len, uint32_t limit) {