We started using G_GNUC macros instead of ATTRIBUTE for some attributes. Adjust this syntax-check accordingly. Signed-off-by: Ján Tomko <jtomko@xxxxxxxxxx> --- build-aux/mock-noinline.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-aux/mock-noinline.pl b/build-aux/mock-noinline.pl index 958e133885..db5420825f 100644 --- a/build-aux/mock-noinline.pl +++ b/build-aux/mock-noinline.pl @@ -40,7 +40,7 @@ sub scan_annotations { while (<FH>) { if (/^\s*(\w+)\(/ || /^(?:\w+\*?\s+)+(?:\*\s*)?(\w+)\(/) { my $name = $1; - if ($name !~ /ATTRIBUTE/) { + if ($name !~ /(?:G_GNUC|ATTRIBUTE)/) { $func = $name; } } elsif (/^\s*$/) { -- 2.19.2 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list