From: Victor Julien Date: Wed, 19 Apr 2017 13:47:09 +0000 (+0200) Subject: stream: reduce scope of new ssn func X-Git-Tag: suricata-4.0.0-beta1~137 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f4884a1323580f97f145fd69817e39714c0d9d4;p=thirdparty%2Fsuricata.git stream: reduce scope of new ssn func --- diff --git a/src/stream-tcp.c b/src/stream-tcp.c index 06e24936be..0db8f496e3 100644 --- a/src/stream-tcp.c +++ b/src/stream-tcp.c @@ -610,7 +610,8 @@ void StreamTcpFreeConfig(char quiet) SCLogDebug("ssn_pool_cnt %"PRIu64"", ssn_pool_cnt); } -/** \brief The function is used to to fetch a TCP session from the +/** \internal + * \brief The function is used to to fetch a TCP session from the * ssn_pool, when a TCP SYN is received. * * \param p packet starting the new TCP session. @@ -618,7 +619,7 @@ void StreamTcpFreeConfig(char quiet) * * \retval ssn new TCP session. */ -TcpSession *StreamTcpNewSession (Packet *p, int id) +static TcpSession *StreamTcpNewSession (Packet *p, int id) { TcpSession *ssn = (TcpSession *)p->flow->protoctx;