Skip to content

tool1621: drop unused internal libcurl headers#17811

Closed
vszakats wants to merge 1 commit intocurl:masterfrom
vszakats:tool1621-hdrs
Closed

tool1621: drop unused internal libcurl headers#17811
vszakats wants to merge 1 commit intocurl:masterfrom
vszakats:tool1621-hdrs

Conversation

@vszakats
Copy link
Member

@vszakats vszakats commented Jul 3, 2025


Fixing this error with PR 16973 applied:
```
[4/4] Processing file /Users/runner/work/curl/curl/tests/tunit/tool1621.c.
1 error generated.
Error while processing /Users/runner/work/curl/curl/tests/tunit/tool1621.c.
/Users/runner/work/curl/curl/lib/psl.h:28:10: error: 'libpsl.h' file not found [clang-diagnostic-error]
   28 | #include <libpsl.h>
      |          ^~~~~~~~~~
FAILED: [code=1] tests/tunit/CMakeFiles/tunits-clang-tidy /Users/runner/work/curl/curl/bld/tests/tunit/CMakeFiles/tunits-clang-tidy
```
https://github.com/curl/curl/actions/runs/16055441393/job/45308545907?pr=16973#step:14:539

The applied PR remove dependency header directories from the global
scope, which means they are no longer passed to the tunits build.
Correctly so, but this also revealed that tool1621 was in fact depending
on dependency headers via internal libcurl header that were included.
These headers weren't used, so just drop them as a fix.
@vszakats vszakats added the tests label Jul 3, 2025
@vszakats vszakats marked this pull request as draft July 3, 2025 23:04
@vszakats vszakats marked this pull request as ready for review July 3, 2025 23:12
@vszakats vszakats closed this in 5fb10b5 Jul 4, 2025
@vszakats vszakats deleted the tool1621-hdrs branch July 4, 2025 03:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant

Comments