From 4c8c336e7859cb880ec0312520f824b49d035e30 Mon Sep 17 00:00:00 2001 From: Andrea Bolognani Date: Mon, 23 May 2022 15:30:29 +0200 Subject: syntax-check: Drop sc_bindtextdomain check This is one of the standard checks that we have inherited from gnulib, but it's not applicable to libvirt because we don't want plain bindtextdomain() to be used: virGettextInitialize() is our own private API that should be used instead. The sc_gettext_init check ensures that our private API is used in all the places where it makes sense, and the sc_bindtextdomain check was disabled entirely via a blanket exception. Drop it instead of keeping dead code around. Signed-off-by: Andrea Bolognani Reviewed-by: Michal Privoznik --- build-aux/syntax-check.mk | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'build-aux') diff --git a/build-aux/syntax-check.mk b/build-aux/syntax-check.mk index 6b54f830f1..8689d01f19 100644 --- a/build-aux/syntax-check.mk +++ b/build-aux/syntax-check.mk @@ -1297,15 +1297,6 @@ sc_prohibit_dirent_without_use: re='\<($(_dirent_syms_re))\>' \ $(_sc_header_without_use) -# Ensure that each .c file containing a "main" function also -# calls bindtextdomain. -sc_bindtextdomain: - @require='bindtextdomain *\(' \ - in_vc_files='\.c$$' \ - containing='\