mirror of
https://github.com/curl/curl.git
synced 2026-04-14 21:31:42 +03:00
clang-tidy: sync argument names in prototype and definition
Discovered with clang-tidy checker `readability-inconsistent-declaration-parameter-name`. Also: - do not enforce the above because of inconsistencies still present between public API prototypes and definitions. (Also betwen man page protos, and man page examples, and other parts of the code, e.g. `easy` vs `curl` vs `d` vs `handle`) Perhaps subject for a future effort: https://github.com/curl/curl/actions/runs/22166472728/job/64094691653 - enable and fix `readability-named-parameter` where missing. Refs: https://clang.llvm.org/extra/clang-tidy/checks/readability/inconsistent-declaration-parameter-name.html https://clang.llvm.org/extra/clang-tidy/checks/readability/named-parameter.html Closes #20624
This commit is contained in:
parent
7c01bb23bc
commit
c878160e9c
64 changed files with 200 additions and 195 deletions
|
|
@ -3607,11 +3607,11 @@ void Curl_expire(struct Curl_easy *data, timediff_t milli, expire_id id)
|
|||
* Removes the expire timer. Marks it as done.
|
||||
*
|
||||
*/
|
||||
void Curl_expire_done(struct Curl_easy *data, expire_id eid)
|
||||
void Curl_expire_done(struct Curl_easy *data, expire_id id)
|
||||
{
|
||||
/* remove the timer, if there */
|
||||
multi_deltimeout(data, eid);
|
||||
CURL_TRC_TIMER(data, eid, "cleared");
|
||||
multi_deltimeout(data, id);
|
||||
CURL_TRC_TIMER(data, id, "cleared");
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue