]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
Pull request #3220: parser: fix missing-prototypes warning in parse_ports.cc
authorMike Stepanek (mstepane) <mstepane@cisco.com>
Wed, 15 Dec 2021 10:11:39 +0000 (10:11 +0000)
committerMike Stepanek (mstepane) <mstepane@cisco.com>
Wed, 15 Dec 2021 10:11:39 +0000 (10:11 +0000)
Merge in SNORT/snort3 from ~VHORBATO/snort3:parser_warn to master

Squashed commit of the following:

commit b55c952067ba84eb5392c6538b01a2fad32c9b1a
Author: Vitalii <vhorbato@cisco.com>
Date:   Wed Dec 15 09:46:41 2021 +0200

    parser: fix missing-prototypes warning in parse_ports.cc

src/parser/parse_ports.cc

index 4798817ae4cdf27c987d713f7ab95485ac7758c9..c926043cecab11287fc296442abb124d7817c872 100644 (file)
@@ -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;