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:
Viktor Szakats 2026-02-21 00:01:22 +01:00
parent 57a1cc5587
commit e8415ad3c7
No known key found for this signature in database
11 changed files with 24 additions and 22 deletions

View file

@ -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 */