mirror of
https://github.com/curl/curl.git
synced 2026-04-11 12:01:42 +08:00
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:
parent
fb50214604
commit
7db60495ad
@ -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"
|
||||
|
||||
@ -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
|
||||
|
||||
@ -28,7 +28,6 @@
|
||||
|
||||
#include "curl_trc.h"
|
||||
#include "urldata.h"
|
||||
#include "easyif.h"
|
||||
#include "cfilters.h"
|
||||
#include "multiif.h"
|
||||
|
||||
|
||||
@ -57,7 +57,6 @@
|
||||
#include "transfer.h"
|
||||
#include "sendf.h"
|
||||
#include "escape.h"
|
||||
#include "progress.h"
|
||||
#include "dict.h"
|
||||
|
||||
#define DICT_MATCH "/MATCH:"
|
||||
|
||||
@ -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 */
|
||||
|
||||
@ -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"
|
||||
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -27,7 +27,6 @@
|
||||
#include <curl/curl.h>
|
||||
|
||||
#include "hash.h"
|
||||
#include "llist.h"
|
||||
|
||||
/* random patterns for API verification */
|
||||
#ifdef DEBUGBUILD
|
||||
|
||||
@ -28,8 +28,6 @@
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#include "llist.h"
|
||||
|
||||
/* Hash function prototype */
|
||||
typedef size_t (*hash_function)(void *key,
|
||||
size_t key_length,
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -25,7 +25,6 @@
|
||||
#include "curl_setup.h"
|
||||
|
||||
#include "curlx/timeval.h"
|
||||
#include "progress.h"
|
||||
#include "ratelimit.h"
|
||||
|
||||
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -25,7 +25,6 @@
|
||||
|
||||
#include "urldata.h"
|
||||
#include "connect.h"
|
||||
#include "progress.h"
|
||||
|
||||
static CURLcode t1607_setup(void)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user