mirror of
https://github.com/curl/curl.git
synced 2026-08-25 18:03:36 +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
|
|
@ -42,7 +42,7 @@ static CURLcode t1608_setup(void)
|
|||
return CURLE_OK;
|
||||
}
|
||||
|
||||
static CURLcode test_unit1608(char *arg)
|
||||
static CURLcode test_unit1608(const char *arg)
|
||||
{
|
||||
UNITTEST_BEGIN(t1608_setup())
|
||||
|
||||
|
|
@ -74,7 +74,7 @@ static CURLcode test_unit1608(char *arg)
|
|||
|
||||
#else
|
||||
|
||||
static CURLcode test_unit1608(char *arg)
|
||||
static CURLcode test_unit1608(const char *arg)
|
||||
{
|
||||
UNITTEST_BEGIN_SIMPLE
|
||||
UNITTEST_END_SIMPLE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue