From: Matt Caswell Date: Wed, 14 Jan 2015 21:26:14 +0000 (+0000) Subject: Fix make errors X-Git-Tag: OpenSSL_1_0_1-post-reformat~39 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=18d3333cfd241744879e01142bf7a10f81c8054f;p=oweals%2Fopenssl.git Fix make errors Reviewed-by: Tim Hudson --- 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 () { - 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 ee23a82912..bf953884c7 100644 --- a/util/mkerr.pl +++ b/util/mkerr.pl @@ -250,7 +250,7 @@ while (($hdr, $lib) = each %libinc) if ($gotfile) { while() { - if(/^\#define\s+(\S+)\s+(\S+)/) { + if(/^\#\s*define\s+(\S+)\s+(\S+)/) { $name = $1; $code = $2; next if $name =~ /^${lib}err/;