mirror of
https://github.com/curl/curl.git
synced 2026-08-25 21:03:34 +03:00
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:
parent
d516628d14
commit
f0b8137c1c
10 changed files with 182 additions and 220 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue