diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2023-10-22 17:59:11 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2023-10-30 18:44:32 +0200 |
commit | e7a86b94cd247435ac96bc79ba528b690b9ca388 (patch) | |
tree | 904df094076d0d605407c559e76080965c38565d /src/liblzma | |
parent | liblzma: #define lzma_always_inline in common.h. (diff) | |
download | xz-e7a86b94cd247435ac96bc79ba528b690b9ca388.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) { |