summaryrefslogtreecommitdiffstats
path: root/Tools/c-analyzer/c_parser/preprocessor/gcc.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2024-03-10 20:19:47 (GMT)
committerGitHub <noreply@github.com>2024-03-10 20:19:47 (GMT)
commitc5fa796619a8cae5a1a8a4a043d05a99adec713d (patch)
tree246bac2231b8beb34749aa980fef592422c47799 /Tools/c-analyzer/c_parser/preprocessor/gcc.py
parent729bfb3105c7ca2ad6150a6207786096732c3b9e (diff)
downloadcpython-c5fa796619a8cae5a1a8a4a043d05a99adec713d.zip
cpython-c5fa796619a8cae5a1a8a4a043d05a99adec713d.tar.gz
cpython-c5fa796619a8cae5a1a8a4a043d05a99adec713d.tar.bz2
gh-116417: Fix make check-c-globals for _testlimitedcapi (#116570)
* Remove unused '_testcapimodule' global in Modules/_testcapi/unicode.c. * Update c-analyzer to not use the internal C API in _testlimitedcapi.c.
Diffstat (limited to 'Tools/c-analyzer/c_parser/preprocessor/gcc.py')
-rw-r--r--Tools/c-analyzer/c_parser/preprocessor/gcc.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tools/c-analyzer/c_parser/preprocessor/gcc.py b/Tools/c-analyzer/c_parser/preprocessor/gcc.py
index cc3a9be..bb5ec5a 100644
--- a/Tools/c-analyzer/c_parser/preprocessor/gcc.py
+++ b/Tools/c-analyzer/c_parser/preprocessor/gcc.py
@@ -7,6 +7,7 @@ from . import common as _common
FILES_WITHOUT_INTERNAL_CAPI = frozenset((
# Modules/
'_testcapimodule.c',
+ '_testlimitedcapi.c',
'_testclinic_limited.c',
'xxlimited.c',
'xxlimited_35.c',