Skip to content

Commit dd86860

Browse files
karel-msjaeckel
authored andcommitted
fix staticfunc_name detection
(cherry picked from commit 6d71d65)
1 parent 10ad3b5 commit dd86860

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

helper.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ sub check_source {
6161
$file !~ m|src/hashes/.*\.c$| &&
6262
$file !~ m|src/math/.+_desc.c$| &&
6363
$file !~ m|src/stream/sober128/sober128_stream.c$| &&
64-
$l =~ /^static(\s+\S+)+\s+([^_][a-zA-Z0-9_]+)\s*\(/) {
64+
$l =~ /^static(\s+[a-zA-Z0-9_]+)+\s+([^_][a-zA-Z0-9_]+)\s*\(/) {
6565
push @{$troubles->{staticfunc_name}}, "$lineno($2)";
6666
}
6767
$lineno++;

0 commit comments

Comments
 (0)