mirror of
https://github.com/curl/curl.git
synced 2026-08-24 13:33:33 +03:00
clang-tidy: add arg names to prototypes where missing
Detected by `readability-named-parameter` with `HeaderFilterRegex: '.*'`,
or `CURL_CLANG_TIDYFLAGS='--header-filter=.*'`.
Follow-up to c878160e9c #20624
Closes #20657
This commit is contained in:
parent
57a1cc5587
commit
e8415ad3c7
11 changed files with 24 additions and 22 deletions
|
|
@ -41,7 +41,7 @@ struct slist_wc {
|
|||
* Appends a string to a linked list. If no list exists, it will be created
|
||||
* first. Returns the new list, after appending.
|
||||
*/
|
||||
struct slist_wc *slist_wc_append(struct slist_wc *, const char *);
|
||||
struct slist_wc *slist_wc_append(struct slist_wc *list, const char *data);
|
||||
|
||||
/*
|
||||
* NAME curl_slist_free_all()
|
||||
|
|
@ -50,7 +50,7 @@ struct slist_wc *slist_wc_append(struct slist_wc *, const char *);
|
|||
*
|
||||
* free a previously built curl_slist_wc.
|
||||
*/
|
||||
void slist_wc_free_all(struct slist_wc *);
|
||||
void slist_wc_free_all(struct slist_wc *list);
|
||||
|
||||
#endif /* CURL_DISABLE_LIBCURL_OPTION */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue