http: remove "struct HTTP"

It is not actually used anymore and only contained a dummy struct field.
Remove all traces and uses of it.

Closes #13927
This commit is contained in:
Daniel Stenberg 2024-06-12 11:05:44 +02:00
parent 69b6c10568
commit 7208ff6534
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
9 changed files with 8 additions and 52 deletions

View file

@ -73,7 +73,6 @@ char *Curl_checkProxyheaders(struct Curl_easy *data,
const struct connectdata *conn,
const char *thisheader,
const size_t thislen);
struct HTTP; /* see below */
CURLcode Curl_add_timecondition(struct Curl_easy *data,
#ifndef USE_HYPER
@ -187,10 +186,6 @@ void Curl_http_exp100_got100(struct Curl_easy *data);
/****************************************************************************
* HTTP unique setup
***************************************************************************/
struct HTTP {
/* TODO: no longer used, we should remove it from SingleRequest */
char unused;
};
CURLcode Curl_http_size(struct Curl_easy *data);