diff options
author | Matt Caswell <matt@openssl.org> | 2015-01-14 21:26:14 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2015-01-22 09:25:13 +0000 |
commit | d2f8517ad0df0e08d118a38380e401c7cb7fd36d (patch) | |
tree | 4b46332aefac88feddb6a4b60150d83d0b6c06cf /util | |
parent | 27df27d4b9b3b6089c772641fb1e99a208859627 (diff) |
Fix make errors
Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'util')
-rwxr-xr-x | util/ck_errf.pl | 2 | ||||
-rw-r--r-- | util/mkerr.pl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/util/ck_errf.pl b/util/ck_errf.pl index f13af5c50b..1a8665ab6a 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]*)$/; diff --git a/util/mkerr.pl b/util/mkerr.pl index 5033abad97..88388f5325 100644 --- a/util/mkerr.pl +++ b/util/mkerr.pl @@ -251,7 +251,7 @@ while (($hdr, $lib) = each %libinc) if ($gotfile) { while(<IN>) { - if(/^\#define\s+(\S+)\s+(\S+)/) { + if(/^\#\s*define\s+(\S+)\s+(\S+)/) { $name = $1; $code = $2; next if $name =~ /^${lib}err/; |