diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2023-10-22 17:59:11 +0300 |
---|---|---|
committer | Jia Tan <jiat0218@gmail.com> | 2023-10-31 18:44:59 +0800 |
commit | 068ee436f4a8a706125ef43e8228b30001b1554e (patch) | |
tree | bf7f84f0f7fb2469df742562974e0da47f3bcce3 /src/liblzma | |
parent | liblzma: #define lzma_always_inline in common.h. (diff) | |
download | xz-068ee436f4a8a706125ef43e8228b30001b1554e.tar.xz |
liblzma: Use lzma_always_inline in memcmplen.h.
Diffstat (limited to 'src/liblzma')
-rw-r--r-- | src/liblzma/common/memcmplen.h | 3 |
1 files changed, 1 insertions, 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) { |