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 cf34a35..1b2915c 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;