From: Russ Combs Date: Thu, 20 Aug 2015 02:49:33 +0000 (-0400) Subject: fix link error with g++ 4.8.3 X-Git-Tag: 3.0.0-233~865^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9335cfdfb654206c0dba3785b20d4e2e04eb0839;p=thirdparty%2Fsnort3.git fix link error with g++ 4.8.3 --- diff --git a/src/stream/tcp/tcp_reassembly.cc b/src/stream/tcp/tcp_reassembly.cc index 1a954c3cb..51f795259 100644 --- a/src/stream/tcp/tcp_reassembly.cc +++ b/src/stream/tcp/tcp_reassembly.cc @@ -215,7 +215,7 @@ static inline NormMode get_norm_ips(TcpTracker* st) return Normalize_GetMode(NORM_TCP_IPS); } -inline uint32_t SegsToFlush(const TcpTracker* st, unsigned max) +uint32_t SegsToFlush(const TcpTracker* st, unsigned max) { uint32_t n = st->seg_count - st->flush_count; TcpSegment* s;