]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
maint: avoid sc_tight_scope failure in sort.c
authorPádraig Brady <P@draigBrady.com>
Mon, 26 Feb 2024 14:42:40 +0000 (14:42 +0000)
committerPádraig Brady <P@draigBrady.com>
Mon, 26 Feb 2024 17:33:02 +0000 (17:33 +0000)
* 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

diff --git a/cfg.mk b/cfg.mk
index c0a131b2b29720e31512864a02faea4d43a3fc24..7da1a4b4ac8b681801143af041b3be50c2156723 100644 (file)
--- 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)