From f1cee1f18a0c817810117a08ae146c1d57bb8303 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Mon, 23 Feb 2026 15:52:39 +0100 Subject: [PATCH] clang-tidy: add arg names to prototypes where missing (cont.) Detected by `readability-named-parameter` with `HeaderFilterRegex: '.*'`, or `CURL_CLANG_TIDYFLAGS='--header-filter=.*'`. Seen on Windows. Follow-up to e8415ad3c7ab69a7056daa4b39e7a0044c43f5ba #20657 Follow-up to c878160e9c1f7366e64299aa02540d5495c3df9c #20624 Closes #20693 --- lib/curlx/inet_pton.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/curlx/inet_pton.h b/lib/curlx/inet_pton.h index 601bdf8d87..02ae7f2269 100644 --- a/lib/curlx/inet_pton.h +++ b/lib/curlx/inet_pton.h @@ -43,7 +43,7 @@ inet_pton(x, y, z) #endif #else -int curlx_inet_pton(int, const char *, void *); +int curlx_inet_pton(int af, const char *src, void *dst); #endif /* HAVE_INET_PTON */ #endif /* HEADER_CURL_INET_PTON_H */