curl: remove the global argument from many functions

Since the config struct has a pointer to it, both pointers don't need to
be passed on.

Closes #17890
This commit is contained in:
Daniel Stenberg 2025-07-10 18:33:50 +02:00
parent d516628d14
commit f0b8137c1c
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
10 changed files with 182 additions and 220 deletions

View file

@ -365,8 +365,7 @@ const struct LongShort *findshortopt(char letter);
ParameterError getparameter(const char *flag, const char *nextarg,
bool *usedarg,
struct GlobalConfig *global,
struct OperationConfig *operation);
struct OperationConfig *config);
#ifdef UNITTESTS
void parse_cert_parameter(const char *cert_parameter,