diff --git a/snappy.cc b/snappy.cc index 5457377..6fe5f34 100644 --- a/snappy.cc +++ b/snappy.cc @@ -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