summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2015-01-14 21:26:14 +0000
committerMatt Caswell <matt@openssl.org>2015-01-22 09:50:03 +0000
commit4fd2e6b032dcc04972c5aab1148ba0f6b6c5c9bd (patch)
tree50d9f844f3c959d6495980ebc70750d5ec78ba18
parenta2a2bbafdebdbcc65880c2fda1475b79de13b935 (diff)
Fix make errors
Reviewed-by: Tim Hudson <tjh@openssl.org>
-rwxr-xr-xutil/ck_errf.pl2
-rw-r--r--util/mkerr.pl2
2 files changed, 2 insertions, 2 deletions
diff --git a/util/ck_errf.pl b/util/ck_errf.pl
index 344b422c34..24c4ca1ed3 100755
--- a/util/ck_errf.pl
+++ b/util/ck_errf.pl
@@ -13,7 +13,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 8769e1dbc6..768f0dfda6 100644
--- a/util/mkerr.pl
+++ b/util/mkerr.pl
@@ -180,7 +180,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/;