mirror of
https://github.com/curl/curl.git
synced 2026-07-10 09:17:16 +03:00
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: |
||
|---|---|---|
| .. | ||
| cleancmd.pl | ||
| cmp-config.pl | ||
| cmp-pkg-config.sh | ||
| codespell-ignore.words | ||
| codespell.sh | ||
| distfiles.sh | ||
| pyspelling.words | ||
| pyspelling.yaml | ||
| randcurl.pl | ||
| requirements-docs.txt | ||
| requirements-proselint.txt | ||
| requirements.txt | ||
| shellcheck-ci.sh | ||
| shellcheck.sh | ||
| spellcheck.curl | ||
| trimmarkdownheader.pl | ||
| typos.sh | ||
| typos.toml | ||
| verify-examples.pl | ||
| verify-synopsis.pl | ||
| yamlcheck.sh | ||
| yamlcheck.yaml | ||