From e3478ae4f36cd06522a2fef023860893f068434d Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Mon, 11 Sep 2023 18:47:26 +0300 Subject: liblzma: Move a few __attribute__ uses in function declarations. The API headers have many attributes but these were left as is for now. --- src/liblzma/common/memcmplen.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/liblzma/common/memcmplen.h') diff --git a/src/liblzma/common/memcmplen.h b/src/liblzma/common/memcmplen.h index 3c12422b..abf01d51 100644 --- a/src/liblzma/common/memcmplen.h +++ b/src/liblzma/common/memcmplen.h @@ -49,7 +49,8 @@ /// 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. -static inline uint32_t lzma_attribute((__always_inline__)) +lzma_attribute((__always_inline__)) +static inline uint32_t lzma_memcmplen(const uint8_t *buf1, const uint8_t *buf2, uint32_t len, uint32_t limit) { -- cgit v1.2.3