Fix warnings due to use of `__attribute__(always_inline)` without `inline`.

PiperOrigin-RevId: 478984028
This commit is contained in:
Marcin Kowalczyk 2022-10-05 10:26:41 +02:00 committed by qrczak
parent 9758c9dfd7
commit d644ca8770
1 changed files with 2 additions and 2 deletions

View File

@ -1020,7 +1020,7 @@ void MemCopy64(ptrdiff_t dst, const void* src, size_t size) {
}
SNAPPY_ATTRIBUTE_ALWAYS_INLINE
size_t AdvanceToNextTagARMOptimized(const uint8_t** ip_p, size_t* tag) {
inline size_t AdvanceToNextTagARMOptimized(const uint8_t** ip_p, size_t* tag) {
const uint8_t*& ip = *ip_p;
// This section is crucial for the throughput of the decompression loop.
// The latency of an iteration is fundamentally constrained by the
@ -1043,7 +1043,7 @@ size_t AdvanceToNextTagARMOptimized(const uint8_t** ip_p, size_t* tag) {
}
SNAPPY_ATTRIBUTE_ALWAYS_INLINE
size_t AdvanceToNextTagX86Optimized(const uint8_t** ip_p, size_t* tag) {
inline size_t AdvanceToNextTagX86Optimized(const uint8_t** ip_p, size_t* tag) {
const uint8_t*& ip = *ip_p;
// This section is crucial for the throughput of the decompression loop.
// The latency of an iteration is fundamentally constrained by the