diff options
author | Matt Caswell <matt@openssl.org> | 2015-01-14 22:26:14 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2015-01-22 10:20:07 +0100 |
commit | 2dc57eb5a78bbd3fbb3846bf983c274195250794 (patch) | |
tree | 9ab31cf9c914aa2b91f9d8c63655fd5e0961f4f0 /util | |
parent | Make the script a little more location agnostic (diff) | |
download | openssl-2dc57eb5a78bbd3fbb3846bf983c274195250794.tar.xz openssl-2dc57eb5a78bbd3fbb3846bf983c274195250794.zip |
Fix make errors
Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to '')
-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 38f93bfda0..2438e8eb0c 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/; |