There's no need to check for __attribute__ with ANSI functions, since
we only check to the opening parenthesis anyway...
This commit is contained in:
parent
3ae70939ba
commit
b5f96e8818
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ while (($hdr, $lib) = each %libinc)
|
||||||
s/^[\n\s]*//g;
|
s/^[\n\s]*//g;
|
||||||
s/[\n\s]*$//g;
|
s/[\n\s]*$//g;
|
||||||
next if(/typedef\W/);
|
next if(/typedef\W/);
|
||||||
if (/\(\*(\w*)\([^\)]+\)(\s*__attribute__\(.*\)\s*)?$/) {
|
if (/\(\*(\w*)\([^\)]+/) {
|
||||||
my $name = $1;
|
my $name = $1;
|
||||||
$name =~ tr/[a-z]/[A-Z]/;
|
$name =~ tr/[a-z]/[A-Z]/;
|
||||||
$ftrans{$name} = $1;
|
$ftrans{$name} = $1;
|
||||||
|
|
Loading…
Reference in a new issue