From: Viktor Szakats Date: Thu, 18 Dec 2025 23:48:39 +0000 (+0100) Subject: build: drop unused `curlx/inet_pton.h` includes X-Git-Tag: rc-8_18_0-3~68 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb72ec4f128e681056307cd41adbda0721117832;p=thirdparty%2Fcurl.git build: drop unused `curlx/inet_pton.h` includes Closes #20024 --- diff --git a/lib/connect.c b/lib/connect.c index b177dfdd0e..1afeb8c808 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -65,7 +65,6 @@ #include "multiif.h" #include "sockaddr.h" /* required for Curl_sockaddr_storage */ #include "curlx/inet_ntop.h" -#include "curlx/inet_pton.h" #include "curlx/strparse.h" #include "vtls/vtls.h" /* for vtsl cfilters */ #include "progress.h" diff --git a/lib/vquic/curl_ngtcp2.c b/lib/vquic/curl_ngtcp2.c index 6087481f59..550e4b2bef 100644 --- a/lib/vquic/curl_ngtcp2.c +++ b/lib/vquic/curl_ngtcp2.c @@ -59,7 +59,6 @@ #include "../curlx/dynbuf.h" #include "../http1.h" #include "../select.h" -#include "../curlx/inet_pton.h" #include "../transfer.h" #include "../bufref.h" #include "vquic.h" diff --git a/lib/vquic/curl_osslq.c b/lib/vquic/curl_osslq.c index dc79fe399c..f932149d75 100644 --- a/lib/vquic/curl_osslq.c +++ b/lib/vquic/curl_osslq.c @@ -44,7 +44,6 @@ #include "../curlx/dynbuf.h" #include "../http1.h" #include "../select.h" -#include "../curlx/inet_pton.h" #include "../uint-hash.h" #include "vquic.h" #include "vquic_int.h" diff --git a/lib/vquic/curl_quiche.c b/lib/vquic/curl_quiche.c index abf1a23c20..c06b091a0d 100644 --- a/lib/vquic/curl_quiche.c +++ b/lib/vquic/curl_quiche.c @@ -47,7 +47,6 @@ #include "../transfer.h" #include "../url.h" #include "../bufref.h" -#include "../curlx/inet_pton.h" #include "../curlx/warnless.h" #include "../vtls/openssl.h" #include "../vtls/keylog.h" diff --git a/lib/vtls/gtls.c b/lib/vtls/gtls.c index 543173ae58..117d519fdd 100644 --- a/lib/vtls/gtls.c +++ b/lib/vtls/gtls.c @@ -42,7 +42,6 @@ #include "../urldata.h" #include "../sendf.h" -#include "../curlx/inet_pton.h" #include "keylog.h" #include "gtls.h" #include "vtls.h" diff --git a/lib/vtls/mbedtls.c b/lib/vtls/mbedtls.c index b299f684dc..b2342189b0 100644 --- a/lib/vtls/mbedtls.c +++ b/lib/vtls/mbedtls.c @@ -61,7 +61,6 @@ #include "cipher_suite.h" #include "../urldata.h" #include "../sendf.h" -#include "../curlx/inet_pton.h" #include "mbedtls.h" #include "vtls.h" #include "vtls_int.h" diff --git a/lib/vtls/rustls.c b/lib/vtls/rustls.c index 951b339b43..ae03311d12 100644 --- a/lib/vtls/rustls.c +++ b/lib/vtls/rustls.c @@ -31,7 +31,6 @@ #include #include "../curlx/fopen.h" -#include "../curlx/inet_pton.h" #include "../curlx/strerr.h" #include "../urldata.h" #include "../sendf.h" diff --git a/lib/vtls/schannel.c b/lib/vtls/schannel.c index 986b65ec03..f77533d9f1 100644 --- a/lib/vtls/schannel.c +++ b/lib/vtls/schannel.c @@ -48,7 +48,6 @@ #include "../strerror.h" #include "../select.h" /* for the socket readiness */ #include "../curlx/fopen.h" -#include "../curlx/inet_pton.h" /* for IP addr SNI check */ #include "../curlx/multibyte.h" #include "../curlx/warnless.h" #include "x509asn1.h" diff --git a/lib/vtls/wolfssl.c b/lib/vtls/wolfssl.c index c2c66715c2..34848e02d5 100644 --- a/lib/vtls/wolfssl.c +++ b/lib/vtls/wolfssl.c @@ -57,7 +57,6 @@ #include "../urldata.h" #include "../sendf.h" -#include "../curlx/inet_pton.h" #include "vtls.h" #include "vtls_int.h" #include "vtls_scache.h" diff --git a/lib/vtls/x509asn1.c b/lib/vtls/x509asn1.c index e06499751c..81c6e3c441 100644 --- a/lib/vtls/x509asn1.c +++ b/lib/vtls/x509asn1.c @@ -44,7 +44,6 @@ #include "vtls.h" #include "vtls_int.h" #include "../sendf.h" -#include "../curlx/inet_pton.h" #include "../curlx/base64.h" #include "x509asn1.h" #include "../curlx/dynbuf.h"