From: Pavel Hrdina Date: Wed, 13 Nov 2019 16:33:27 +0000 (+0100) Subject: syntax-check: forbid usage of snprintf X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=722f55180fdcdfc2d09be26046fb3f83a52a7052;p=libvirt.git syntax-check: forbid usage of snprintf Signed-off-by: Pavel Hrdina Reviewed-by: Peter Krempa Reviewed-by: Ján Tomko --- diff --git a/build-aux/syntax-check.mk b/build-aux/syntax-check.mk index 6b62e20ed4..f1e976ec76 100644 --- a/build-aux/syntax-check.mk +++ b/build-aux/syntax-check.mk @@ -482,6 +482,11 @@ sc_prohibit_sprintf: halt='use g_snprintf, not sprintf' \ $(_sc_search_regexp) +sc_prohibit_snprintf: + @prohibit='\' \ + halt='use g_snprintf, not snprintf' \ + $(_sc_search_regexp) + sc_prohibit_readlink: @prohibit='\