We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1bf42ea commit af984dcCopy full SHA for af984dc
1 file changed
helper.pl
@@ -55,7 +55,10 @@ sub check_source {
55
push @{$troubles->{unwanted_clock}}, $lineno if $file =~ /^src\/.*\.c$/ && $l =~ /\bclock\s*\(/;
56
push @{$troubles->{unwanted_qsort}}, $lineno if $file =~ /^src\/.*\.c$/ && $l =~ /\bqsort\s*\(/;
57
if ($file =~ m|src/.*\.c$| &&
58
+ $file !~ m|src/ciphers/.*\.c$| &&
59
+ $file !~ m|src/hashes/.*\.c$| &&
60
$file !~ m|src/math/.+_desc.c$| &&
61
+ $file !~ m|src/stream/sober128/sober128.c$| &&
62
$l =~ /^static\s+\S+\s+([^_][a-zA-Z0-9_]+)\s*\(/) {
63
push @{$troubles->{staticfunc_name}}, "$lineno($1)";
64
}
0 commit comments