diff options
author | Richard Levitte <levitte@openssl.org> | 2015-04-28 14:34:58 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2015-04-28 14:34:58 +0200 |
commit | 0223ca0987aa8c3b0c4adc084c1f03a5e4e32288 (patch) | |
tree | 98f1a5201867b8962166f190f1ed830fb340c5b9 /util/ck_errf.pl | |
parent | 5956b110e3d6137be07e52b1b3ea483a991ab84f (diff) |
Allow for types with leading underscore when checking error macros.
We have an increasing number of function declarations starting with
'__owur'. Unfortunately, util/ck_errf.pl fails to detect them. A
simple change fixes that issue.
Reviewed-by: Emilia Käsper <emilia@openssl.org>
Diffstat (limited to 'util/ck_errf.pl')
-rwxr-xr-x | util/ck_errf.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/ck_errf.pl b/util/ck_errf.pl index 1a8665ab6a..922e5f644b 100755 --- a/util/ck_errf.pl +++ b/util/ck_errf.pl @@ -21,7 +21,7 @@ foreach $file (@ARGV) $func=""; while (<IN>) { - if (!/;$/ && /^\**([a-zA-Z].*[\s*])?([A-Za-z_0-9]+)\(.*([),]|$)/) + if (!/;$/ && /^\**([a-zA-Z_].*[\s*])?([A-Za-z_0-9]+)\(.*([),]|$)/) { /^([^()]*(\([^()]*\)[^()]*)*)\(/; $1 =~ /([A-Za-z_0-9]*)$/; |