build: drop unused includes

`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
This commit is contained in:
Viktor Szakats 2025-12-19 00:56:34 +01:00
parent fb50214604
commit 7db60495ad
No known key found for this signature in database
GPG Key ID: B5ABD165E2AEF201
18 changed files with 1 additions and 20 deletions

View 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"

View File

@ -119,7 +119,6 @@
#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

View File

@ -28,7 +28,6 @@
#include "curl_trc.h"
#include "urldata.h"
#include "easyif.h"
#include "cfilters.h"
#include "multiif.h"

View File

@ -57,7 +57,6 @@
#include "transfer.h"
#include "sendf.h"
#include "escape.h"
#include "progress.h"
#include "dict.h"
#define DICT_MATCH "/MATCH:"

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

View 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"

View 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"

View File

@ -27,7 +27,6 @@
#include <curl/curl.h>
#include "hash.h"
#include "llist.h"
/* random patterns for API verification */
#ifdef DEBUGBUILD

View 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,

View 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"

View 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"

View 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"

View File

@ -25,7 +25,6 @@
#include "curl_setup.h"
#include "curlx/timeval.h"
#include "progress.h"
#include "ratelimit.h"

View 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"

View 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;

View File

@ -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"

View 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"

View File

@ -25,7 +25,6 @@
#include "urldata.h"
#include "connect.h"
#include "progress.h"
static CURLcode t1607_setup(void)
{