mirror of
https://github.com/curl/curl.git
synced 2026-08-25 01:33:31 +03:00
clang-tidy: enable more checks, fix fallouts
- enable three checks: - bugprone-invalid-enum-default-initialization - bugprone-sizeof-expression - readability-inconsistent-declaration-parameter-name (strict) - fix remaining discrepancies with arg names in prototypes and implementation, in strict mode. - document reason for some checks tested but not enabled. Closes #20794
This commit is contained in:
parent
e0dd6eb4a4
commit
df6014894b
34 changed files with 222 additions and 209 deletions
|
|
@ -117,13 +117,12 @@ struct doh_probes {
|
|||
* Curl_doh() starts a name resolve using DoH (DNS-over-HTTPS). It resolves a
|
||||
* name and returns a 'Curl_addrinfo *' with the address information.
|
||||
*/
|
||||
|
||||
CURLcode Curl_doh(struct Curl_easy *data,
|
||||
struct Curl_resolv_async *async);
|
||||
|
||||
CURLcode Curl_doh_take_result(struct Curl_easy *data,
|
||||
struct Curl_resolv_async *async,
|
||||
struct Curl_dns_entry **dns);
|
||||
struct Curl_dns_entry **pdns);
|
||||
|
||||
#define DOH_MAX_ADDR 24
|
||||
#define DOH_MAX_CNAME 4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue