Commit b5f96e88 authored by Richard Levitte's avatar Richard Levitte
Browse files

There's no need to check for __attribute__ with ANSI functions, since

we only check to the opening parenthesis anyway...
parent 3ae70939
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;