mirror of
https://github.com/curl/curl.git
synced 2026-08-25 04:33:33 +03:00
tests: constify command-line arguments
For libtests, tunits, units. Also: - lib3033: tidy up headers. - lib/netrc: constify an arg in `Curl_parsenetrc()`. Closes #18076
This commit is contained in:
parent
3407bee8c8
commit
cd586149d5
292 changed files with 347 additions and 346 deletions
|
|
@ -71,7 +71,7 @@ static void expect_timer_seconds(struct Curl_easy *data, int seconds)
|
|||
* E.g., if t_starttransfer took 2 seconds initially and took another 1
|
||||
* second for the redirect request, then the resulting t_starttransfer should
|
||||
* be 3 seconds. */
|
||||
static CURLcode test_unit1399(char *arg)
|
||||
static CURLcode test_unit1399(const char *arg)
|
||||
{
|
||||
UNITTEST_BEGIN_SIMPLE
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue