curl/.github/scripts
Viktor Szakats 1671ebd975
build: drop superfluous STDC_HEADERS macro
It is traditionally defined by autotools to detect the presence of set
of standard C89 headers. autoconf 2.70 (2020-12-08) reduced the headers
covered to `stdlib.h`, `string.h`. After 2.59d (2006-06-05) obsoleting
it earlier. CMake replicated this detection, and curl included
`curl/stdcheaders.h` if standard headers were missing. However, such
condition could never happen because curl sources already assume all
checked standard headers (`stdarg.h`, `stdlib.h`, `string.h`) and
include them unconditionally.

Since this is an unused feature detection and an impossible fallback
path, drop them from CMake and curl's source. autotools continues to do
the detection by default, but its result is unused after this patch.

This leaves public `curl/stdcheaders.h` unused from within the codebase.

Refs:
f0c7c42553
86c213d0e3

Follow-up to 65dae4ad80 #22191
Follow-up to 4c5307b456
Ref: ae1912cb0d

Closes #22206
2026-06-29 11:11:16 +02:00
..
cleancmd.pl perl: || die -> or die 2026-06-16 00:41:29 +02:00
cmp-config.pl build: drop superfluous STDC_HEADERS macro 2026-06-29 11:11:16 +02:00
cmp-pkg-config.sh tidy-up: syntax and code nits 2026-06-26 15:45:24 +02:00
codespell-ignore.words CI: do not codespell RELEASE-NOTES 2026-01-20 22:46:37 +01:00
codespell.sh scripts: use end-of-options marker in cd, mkdir, mv, sha256sum commands 2026-06-25 11:32:36 +02:00
distfiles.sh buildconf: remove 2026-04-04 11:35:24 +02:00
pyspelling.words docs/VERIFY: expand with more things we do 2026-06-18 12:55:22 +02:00
pyspelling.yaml tests/data: move section data to external files 2025-12-09 10:12:49 +01:00
randcurl.pl perl: switch from backticks to qx() 2026-06-14 14:25:02 +02:00
requirements-docs.txt GHA: update dependency pyspelling to v2.12.1 2025-11-28 02:53:40 +01:00
requirements-proselint.txt GHA/checkdocs: re-enable proselint, update setup, fix issues found 2025-12-11 11:42:28 +01:00
requirements.txt GHA: separate pytype from other checkers and pips 2026-06-19 00:14:18 +02:00
shellcheck-ci.sh CI: fix zizmor 1.9.0 warnings, shellcheck verify CI shell code, fix fallouts 2025-06-06 21:30:43 +02:00
shellcheck.sh scripts: use end-of-options marker in cd, mkdir, mv, sha256sum commands 2026-06-25 11:32:36 +02:00
spellcheck.curl multi: add notifications API 2025-10-07 10:55:31 +02:00
trimmarkdownheader.pl scripts: enable strict warnings in Perl where missing, fix fallouts 2025-07-27 22:35:18 +02:00
typos.sh scripts: use end-of-options marker in cd, mkdir, mv, sha256sum commands 2026-06-25 11:32:36 +02:00
typos.toml GHA/non-native: move BSDs to a single matrix, add DragonFly and Midnight 2026-05-20 03:19:02 +02:00
verify-examples.pl tidy-up: add space around operators, where missing 2026-05-28 10:12:00 +02:00
verify-synopsis.pl tidy-up: syntax and code nits 2026-06-26 15:45:24 +02:00
yamlcheck.sh scripts: use end-of-options marker in cd, mkdir, mv, sha256sum commands 2026-06-25 11:32:36 +02:00
yamlcheck.yaml GHA: add yamlcheck 2024-08-23 18:42:55 +02:00