There's no need to check for __attribute__ with ANSI functions, since
authorRichard Levitte <levitte@openssl.org>
Fri, 4 Apr 2003 14:19:00 +0000 (14:19 +0000)
committerRichard Levitte <levitte@openssl.org>
Fri, 4 Apr 2003 14:19:00 +0000 (14:19 +0000)
we only check to the opening parenthesis anyway...

util/mkerr.pl

index cf34a35ce11aae3b9a513867923e35be5834f065..1b2915c7677948b0c48ae7658505f1110b7af467 100644 (file)
@@ -128,7 +128,7 @@ while (($hdr, $lib) = each %libinc)
            s/^[\n\s]*//g;
            s/[\n\s]*$//g;
            next if(/typedef\W/);
-           if (/\(\*(\w*)\([^\)]+\)(\s*__attribute__\(.*\)\s*)?$/) {
+           if (/\(\*(\w*)\([^\)]+/) {
                my $name = $1;
                $name =~ tr/[a-z]/[A-Z]/;
                $ftrans{$name} = $1;