]> git.feebdaed.xyz Git - 0xmirror/curl.git/commitdiff
build: drop unused includes
authorViktor Szakats <commit@vsz.me>
Thu, 18 Dec 2025 23:56:34 +0000 (00:56 +0100)
committerViktor Szakats <commit@vsz.me>
Fri, 19 Dec 2025 01:04:20 +0000 (02:04 +0100)
`curl_endian.h`, `easyif.h`, `llist.h`, `progress.h`, `slist.h`.

Also:
- multi_ev.h: delete unused include, add a missing direct one.

Closes #20025

18 files changed:
lib/conncache.c
lib/curl_ntlm_core.c
lib/curl_trc.c
lib/dict.c
lib/easy.c
lib/getinfo.c
lib/gopher.c
lib/hash.c
lib/hash.h
lib/http_proxy.c
lib/multi.c
lib/multi_ev.c
lib/ratelimit.c
lib/sendf.c
lib/uint-hash.h
lib/url.c
lib/vtls/openssl.c
tests/unit/unit1607.c

index 7e0e2c9084edab1c8a490d2d34d0f82832120fea..7d54042fa57ffded093cfc116ff682f121894472 100644 (file)
@@ -32,7 +32,6 @@
 #include "cfilters.h"
 #include "progress.h"
 #include "multiif.h"
-#include "multi_ev.h"
 #include "sendf.h"
 #include "cshutdn.h"
 #include "conncache.h"
index 8bb273693d30f3affdbf8bf426a9c833667bd9f8..88ad5596f673a1de6f637683e3efa4a62299d0af 100644 (file)
 #include "curl_md5.h"
 #include "curl_hmac.h"
 #include "curlx/warnless.h"
-#include "curl_endian.h"
 #include "curl_md4.h"
 
 #ifdef USE_CURL_DES_SET_ODD_PARITY
index 2baa7fd530ccce51624e001d76197e79deae0e84..5c15dcdc9792f457daeb908f72fdd75b27a80aef 100644 (file)
@@ -28,7 +28,6 @@
 
 #include "curl_trc.h"
 #include "urldata.h"
-#include "easyif.h"
 #include "cfilters.h"
 #include "multiif.h"
 
index a5facf4310dbec625bf3150c3cb974da07eecd84..a04bb8d4fe09f125d9e8364e83f8cd43e670dc27 100644 (file)
@@ -57,7 +57,6 @@
 #include "transfer.h"
 #include "sendf.h"
 #include "escape.h"
-#include "progress.h"
 #include "dict.h"
 
 #define DICT_MATCH   "/MATCH:"
index cb2e7564f60228ad883cafd02d6a17661c434af2..e100a36ea0cc42b94e5108eadb119797fd73a2cb 100644 (file)
@@ -54,9 +54,9 @@
 #include "getinfo.h"
 #include "hostip.h"
 #include "strdup.h"
-#include "progress.h"
 #include "easyif.h"
 #include "multiif.h"
+#include "multi_ev.h"
 #include "select.h"
 #include "cfilters.h"
 #include "sendf.h" /* for failf function prototype */
index 82c701e07c672366b5f37fc46d46665e6f88a03f..a4ea3b79314efb3c666b29ad6fe983c9d0fcac32 100644 (file)
@@ -31,7 +31,6 @@
 #include "cfilters.h"
 #include "vtls/vtls.h"
 #include "connect.h" /* Curl_getconnectinfo() */
-#include "progress.h"
 #include "bufref.h"
 #include "curlx/strparse.h"
 
index f7a61ae08cc45ddbcc568973f87926abbbdbfae2..85ca2114667acdff87dcc845c7f5c49590c3d26b 100644 (file)
@@ -32,7 +32,6 @@
 #include "sendf.h"
 #include "cfilters.h"
 #include "connect.h"
-#include "progress.h"
 #include "gopher.h"
 #include "select.h"
 #include "vtls/vtls.h"
index b9e9d702e3ccdd6f092791403679f42efead61e0..84230121a05a732ff95497d1fcad0502b19b8c54 100644 (file)
@@ -27,7 +27,6 @@
 #include <curl/curl.h>
 
 #include "hash.h"
-#include "llist.h"
 
 /* random patterns for API verification */
 #ifdef DEBUGBUILD
index b9974826b03cfc4e7655c22d017e44eddc8e20b0..8dfef0d9122e56a070baa5ef6ef740d48dcdeae7 100644 (file)
@@ -28,8 +28,6 @@
 
 #include <stddef.h>
 
-#include "llist.h"
-
 /* Hash function prototype */
 typedef size_t (*hash_function)(void *key,
                                 size_t key_length,
index dc0395aa4fabf28807813174314576864d2a4e0d..aa5d46728470a63723cb01634265363b26ecef3f 100644 (file)
@@ -33,7 +33,6 @@
 #include "http.h"
 #include "url.h"
 #include "select.h"
-#include "progress.h"
 #include "cfilters.h"
 #include "cf-h1-proxy.h"
 #include "cf-h2-proxy.h"
index 289ab0714b3a6342d59fb4f327ddfa8ecc018ba5..af8330b392e999e9c60e56af225aee00629d31a5 100644 (file)
@@ -32,7 +32,6 @@
 #include "cfilters.h"
 #include "connect.h"
 #include "progress.h"
-#include "easyif.h"
 #include "curl_share.h"
 #include "psl.h"
 #include "multiif.h"
index 906b1c718367d9b0e279321ed82a162c9d2f8a5b..d4e219dfa223467aa189a1e1a26b31641dc77a39 100644 (file)
@@ -33,7 +33,6 @@
 #include "multiif.h"
 #include "curlx/timeval.h"
 #include "multi_ev.h"
-#include "progress.h"
 #include "select.h"
 #include "uint-bset.h"
 #include "uint-spbset.h"
index dc1a545201089c899d08f8c091681cec79ecc271..feafe669c1784e396c07720f074464bbcda7c60f 100644 (file)
@@ -25,7 +25,6 @@
 #include "curl_setup.h"
 
 #include "curlx/timeval.h"
-#include "progress.h"
 #include "ratelimit.h"
 
 
index 7ab6af8b69dc041a96c1c741681d72bbacaa5af6..bf9fa17c86522cb881f0b06799a509fb743ff893 100644 (file)
@@ -46,7 +46,6 @@
 #include "cw-pause.h"
 #include "vtls/vtls.h"
 #include "vssh/ssh.h"
-#include "easyif.h"
 #include "multiif.h"
 #include "strerror.h"
 #include "select.h"
index 3e09a6234821983b76a6c0f94851b46c2ac1b3f6..9f322bdd10024d32cfcf1cefe2ab045c4b1c1647 100644 (file)
@@ -28,8 +28,6 @@
 
 #include <stddef.h>
 
-#include "llist.h"
-
 /* A version with uint32_t as key */
 typedef void Curl_uint32_hash_dtor(uint32_t id, void *value);
 struct uint_hash_entry;
index 29d6b3442219e17b5370d5148373c45fb3dd60d6..34841bf9df7c47585f169af9c314aa2bb51c54d3 100644 (file)
--- a/lib/url.c
+++ b/lib/url.c
@@ -88,7 +88,6 @@
 #include "http_negotiate.h"
 #include "select.h"
 #include "multiif.h"
-#include "easyif.h"
 #include "curlx/warnless.h"
 #include "getinfo.h"
 #include "pop3.h"
index 619fb2e2d077d8ec107300cd62ed4c60428c99d9..88cf373611ba0754202b9c799c6dd968a72efe17 100644 (file)
@@ -52,7 +52,6 @@
 #include "../curlx/inet_pton.h"
 #include "openssl.h"
 #include "../connect.h"
-#include "../slist.h"
 #include "../progress.h"
 #include "../select.h"
 #include "../curlx/wait.h"
index c95252f1fdf0c027a847d5a534e709ddfc88c6e8..3072130cce7d231c1036f8b129b39d516a9ab6ea 100644 (file)
@@ -25,7 +25,6 @@
 
 #include "urldata.h"
 #include "connect.h"
-#include "progress.h"
 
 static CURLcode t1607_setup(void)
 {