From: Mike Stepanek (mstepane) Date: Wed, 15 Dec 2021 10:11:39 +0000 (+0000) Subject: Pull request #3220: parser: fix missing-prototypes warning in parse_ports.cc X-Git-Tag: 3.1.19.0~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e124eeed8d4c83669fbc37be22e261963841f493;p=thirdparty%2Fsnort3.git Pull request #3220: parser: fix missing-prototypes warning in parse_ports.cc Merge in SNORT/snort3 from ~VHORBATO/snort3:parser_warn to master Squashed commit of the following: commit b55c952067ba84eb5392c6538b01a2fad32c9b1a Author: Vitalii Date: Wed Dec 15 09:46:41 2021 +0200 parser: fix missing-prototypes warning in parse_ports.cc --- diff --git a/src/parser/parse_ports.cc b/src/parser/parse_ports.cc index 4798817ae..c926043ce 100644 --- a/src/parser/parse_ports.cc +++ b/src/parser/parse_ports.cc @@ -306,7 +306,7 @@ static PortObject* _POParsePort(POParser* pop) return po; } -const char* _POFindMatchingBraces(const char* s) +static const char* _POFindMatchingBraces(const char* s) { uint32_t depth = 0;