mirror of
https://github.com/curl/curl.git
synced 2026-08-25 07:23:31 +03:00
clang-tidy: check misc-header-include-cycle, fix in internal headers
Also opt-out `curl/curl.h` because it includes `curl/mprintf.h`, which in turn includes `curl/curl.h` for `CURL_EXTERN`. Not changeable in public headers to remain compatible. (Somehow only triggered for examples.) Ref: https://clang.llvm.org/extra/clang-tidy/checks/misc/header-include-cycle.html Closes #20645
This commit is contained in:
parent
947775a613
commit
977ac0c06c
4 changed files with 5 additions and 9 deletions
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
#include "tool_cb_hdr.h"
|
||||
#include "tool_cb_prg.h"
|
||||
#include "tool_sdecls.h"
|
||||
#include "tool_cfgable.h"
|
||||
|
||||
struct per_transfer {
|
||||
/* double linked */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue