summaryrefslogtreecommitdiff
path: root/extra/snappy/fix-inline.patch
blob: 96484e03fecdc3dec26c473a1cc440d4f20642b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Patch-Source: https://github.com/google/snappy/pull/128

--- a/snappy.cc
+++ b/snappy.cc
@@ -1014,7 +1014,7 @@
 }
 
 SNAPPY_ATTRIBUTE_ALWAYS_INLINE
-size_t AdvanceToNextTag(const uint8_t** ip_p, size_t* tag) {
+inline size_t AdvanceToNextTag(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