From 10be42f033d6fdce31b91658f262f532406617e2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?= Date: Mon, 26 Feb 2024 14:42:40 +0000 Subject: [PATCH] maint: avoid sc_tight_scope failure in sort.c * cfg.mk: Exclude the ptr_MD5_* symbols added in commit v9.4-130-g7f57ac2d2, as there is no way to declare these static given they way they're defined. --- cfg.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cfg.mk b/cfg.mk index c0a131b2b2..7da1a4b4ac 100644 --- a/cfg.mk +++ b/cfg.mk @@ -927,6 +927,9 @@ _gl_TS_other_headers = $(srcdir)/src/*.h src/*.h # Normally, the rule would detect its declaration, but that uses a # different name, __clz_tab. _gl_TS_unmarked_extern_vars = factor_clz_tab +# Avoid tight_scope rule stating these should be static +# as there is no way to achieve that with the way these are defined. +_gl_TS_unmarked_extern_vars += ptr_MD5_.* # Other tight_scope settings _gl_TS_dir = . _gl_TS_obj_files = src/*.$(OBJEXT) -- 2.47.2