Instead of enumerating every single macro variant, just emit a more generic error. Signed-off-by: Ján Tomko <jtomko@xxxxxxxxxx> --- build-aux/syntax-check.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-aux/syntax-check.mk b/build-aux/syntax-check.mk index c30d575e77..c0612a3319 100644 --- a/build-aux/syntax-check.mk +++ b/build-aux/syntax-check.mk @@ -631,7 +631,7 @@ sc_avoid_g_gnuc_unused_in_header: sc_prohibit_attribute_macros: @prohibit='ATTRIBUTE_(UNUSED|NORETURN|SENTINEL|RETURN_CHECK)' \ in_vc_files='\.[ch]$$' \ - halt='use GLib macros: G_GNUC_{UNUSED,NORETURN,NULL_TERMINATED,WARN_UNUSED_RESULT}' \ + halt='use GLib macros: G_GNUC_<ATTRIBUTE_SUFFIX> for most' \ $(_sc_search_regexp) sc_prohibit_int_index: -- 2.19.2 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list