]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
lib: delete unused header includes
authorViktor Szakats <commit@vsz.me>
Fri, 24 Oct 2025 17:21:18 +0000 (19:21 +0200)
committerViktor Szakats <commit@vsz.me>
Fri, 24 Oct 2025 22:19:00 +0000 (00:19 +0200)
`escape.h`, `getinfo.h`, `strdup.h`.

Tested OK with full non-unity CI run.

Closes #19231

19 files changed:
lib/asyn-ares.c
lib/asyn-thrdd.c
lib/content_encoding.c
lib/escape.c
lib/file.c
lib/fileinfo.c
lib/gopher.c
lib/http2.c
lib/mqtt.c
lib/pingpong.c
lib/sendf.c
lib/socks_sspi.c
lib/vquic/curl_ngtcp2.c
lib/vquic/curl_osslq.c
lib/vquic/curl_quiche.c
lib/vssh/libssh.c
lib/vssh/libssh2.c
lib/vtls/vtls.c
lib/vtls/vtls_scache.c

index 040100acec36d183bb256875e98c4ad000be16b1..094d703ec0c0ea00b2396b7c1db27e3b562521df 100644 (file)
@@ -61,7 +61,6 @@
 #include "progress.h"
 #include "curlx/timediff.h"
 #include "httpsrr.h"
-#include "strdup.h"
 
 #include <ares.h>
 #include <ares_version.h> /* really old c-ares did not include this by
index dc13143e245daa253614628025a56fc10761e223..cb19f8645254c3b4a73b6aa0816a5bd7fec9081f 100644 (file)
@@ -64,7 +64,6 @@
 #include "multiif.h"
 #include "curl_threads.h"
 #include "select.h"
-#include "strdup.h"
 
 #ifdef USE_ARES
 #include <ares.h>
index 28cccacdb64704f3a79436cee24139a144451348..b724b576b41d774a9f6f216cc67394e21d02bf1c 100644 (file)
@@ -51,7 +51,6 @@
 #include "sendf.h"
 #include "http.h"
 #include "content_encoding.h"
-#include "strdup.h"
 
 /* The last 2 #include files should be in this order */
 #include "curl_memory.h"
index e7587e49b40ed3e6427583d51d26a3fa4ab1ae6f..2064f4d05fb378d953a5fd0a2001afe15cca311b 100644 (file)
@@ -34,7 +34,6 @@ struct Curl_easy;
 #include "urldata.h"
 #include "curlx/warnless.h"
 #include "escape.h"
-#include "strdup.h"
 #include "curlx/strparse.h"
 #include "curl_printf.h"
 
index fe07df5d2a92514e50b0a4cc4f72ee73101b22a0..f45a487c90f334fc0f36e26f440757bae2b4f77e 100644 (file)
@@ -61,7 +61,6 @@
 #include "escape.h"
 #include "file.h"
 #include "speedcheck.h"
-#include "getinfo.h"
 #include "multiif.h"
 #include "transfer.h"
 #include "url.h"
index 47cdb102e3736e2715863c696a6ace0bb3da6cb8..bddd3fe6fbb1871dcf2aa9baa78e348e5e516fc9 100644 (file)
@@ -26,7 +26,6 @@
 
 #ifndef CURL_DISABLE_FTP
 
-#include "strdup.h"
 #include "fileinfo.h"
 #include "curl_memory.h"
 /* The last #include file should be: */
index 6ff47d58c70ac7ec08a4913899f1207559434034..3a6c73e6a274331155edb1f486a745858643b626 100644 (file)
@@ -35,7 +35,6 @@
 #include "progress.h"
 #include "gopher.h"
 #include "select.h"
-#include "strdup.h"
 #include "vtls/vtls.h"
 #include "url.h"
 #include "escape.h"
index 4e2d59ff518776906488f04d2c146b138e383a80..36bfd610333903c4380823f7cc777ef8e5706e28 100644 (file)
@@ -42,7 +42,6 @@
 #include "cfilters.h"
 #include "connect.h"
 #include "rand.h"
-#include "strdup.h"
 #include "curlx/strparse.h"
 #include "transfer.h"
 #include "curlx/dynbuf.h"
index c76ce0a229b7085edd49d92b7507a1464f97d0fa..0bf956c05bd414b668c029ba424d7495c4653d5e 100644 (file)
@@ -34,7 +34,6 @@
 #include "progress.h"
 #include "mqtt.h"
 #include "select.h"
-#include "strdup.h"
 #include "url.h"
 #include "escape.h"
 #include "curlx/warnless.h"
index 0a15e33f0a3186840b4e960bf8a465476ac23b92..ac22e2e340001b0cb76c2605a99acc7cc7120498 100644 (file)
@@ -37,7 +37,6 @@
 #include "pingpong.h"
 #include "multiif.h"
 #include "vtls/vtls.h"
-#include "strdup.h"
 
 /* The last 2 #include files should be in this order */
 #include "curl_memory.h"
index 7307f872dfaa469f0b29906a097d0c0e90ad44b2..f2c29956d1f545d96dda37a981c1180198a58e8a 100644 (file)
@@ -50,7 +50,6 @@
 #include "multiif.h"
 #include "strerror.h"
 #include "select.h"
-#include "strdup.h"
 #include "http2.h"
 #include "progress.h"
 #include "curlx/warnless.h"
index d4837708a7a6a0fc346943b6b6fe5672416f4afa..a7aa81b75d8e400f8acae987876e36d4f32d1413 100644 (file)
@@ -37,7 +37,6 @@
 #include "curl_sspi.h"
 #include "curlx/multibyte.h"
 #include "curlx/warnless.h"
-#include "strdup.h"
 
 /* The last 2 #include files should be in this order */
 #include "curl_memory.h"
index 36265b73716d9546fe5cdf4ef5a6c92f50cd5450..3b918cd87062b5f28635a8981a7a714edad6ac76 100644 (file)
@@ -50,7 +50,6 @@
 #include "../url.h"
 #include "../uint-hash.h"
 #include "../sendf.h"
-#include "../strdup.h"
 #include "../rand.h"
 #include "../multiif.h"
 #include "../cfilters.h"
index 84b89e93aff729f25269570d4401eb4ab69cdf22..e30cfc648a3021dfe318dd1a1968c7d11f3a0c0f 100644 (file)
@@ -35,7 +35,6 @@
 #include "../urldata.h"
 #include "../hash.h"
 #include "../sendf.h"
-#include "../strdup.h"
 #include "../rand.h"
 #include "../multiif.h"
 #include "../cfilters.h"
index 877a230e04f29f1f7cac49112b86cd1979f0e698..a2ab24bae73c5a5254b058f8c82494bf8288d3a4 100644 (file)
@@ -34,7 +34,6 @@
 #include "../cfilters.h"
 #include "../cf-socket.h"
 #include "../sendf.h"
-#include "../strdup.h"
 #include "../rand.h"
 #include "../multiif.h"
 #include "../connect.h"
index e2574b68176be2dbb87274f6783b6491f28704b3..df466dac4c76af4682bf7a6d4a8bcefd043a565b 100644 (file)
 #include "../hostip.h"
 #include "../progress.h"
 #include "../transfer.h"
-#include "../escape.h"
 #include "../http.h"               /* for HTTP proxy tunnel stuff */
 #include "ssh.h"
 #include "../url.h"
 #include "../speedcheck.h"
-#include "../getinfo.h"
-#include "../strdup.h"
 #include "../vtls/vtls.h"
 #include "../cfilters.h"
 #include "../connect.h"
index bd444c7b87e86d31fd59ea3165ac6c3ca334137e..18e3cdb1d560f893e3381c44f8ebf6ce62e07684 100644 (file)
 #include "../hostip.h"
 #include "../progress.h"
 #include "../transfer.h"
-#include "../escape.h"
 #include "../http.h" /* for HTTP proxy tunnel stuff */
 #include "ssh.h"
 #include "../url.h"
 #include "../speedcheck.h"
-#include "../getinfo.h"
-#include "../strdup.h"
 #include "../vtls/vtls.h"
 #include "../cfilters.h"
 #include "../connect.h"
index 973e4b2c01ee2f2e69c2ca1f6e57af4710a50519..3cd60e91b9aa3b1c5d48ced86c2d29c044c99b45 100644 (file)
@@ -74,7 +74,6 @@
 #include "../connect.h"
 #include "../select.h"
 #include "../setopt.h"
-#include "../strdup.h"
 #include "../rand.h"
 
 #ifdef USE_APPLE_SECTRUST
index 763b474cfc7d37cd5915672ae6eb5ce2dec22efc..8203baa9038bc2b162d22af51fd0bbad6dd0f272 100644 (file)
@@ -46,7 +46,6 @@
 #include "../curl_sha256.h"
 #include "../rand.h"
 #include "../curlx/warnless.h"
-#include "../strdup.h"
 
 /* The last #include files should be: */
 #include "../curl_memory.h"