From b5f96e8818188c542dcff3d38deb9303ccd2ccca Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Fri, 4 Apr 2003 14:19:00 +0000 Subject: [PATCH] There's no need to check for __attribute__ with ANSI functions, since we only check to the opening parenthesis anyway... --- util/mkerr.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/mkerr.pl b/util/mkerr.pl index cf34a35ce1..1b2915c767 100644 --- a/util/mkerr.pl +++ b/util/mkerr.pl @@ -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; -- 2.34.1