From e7a86b94cd247435ac96bc79ba528b690b9ca388 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. --- 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 abf01d51..99d9c519 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) {