mirror of
https://github.com/curl/curl.git
synced 2026-08-25 08:23:31 +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
|
|
@ -63,7 +63,7 @@ static const char *ret2name(int i)
|
|||
/* not reached */
|
||||
}
|
||||
|
||||
static CURLcode test_unit1307(char *arg)
|
||||
static CURLcode test_unit1307(const char *arg)
|
||||
{
|
||||
UNITTEST_BEGIN_SIMPLE
|
||||
|
||||
|
|
@ -311,7 +311,7 @@ static CURLcode test_unit1307(char *arg)
|
|||
|
||||
#else
|
||||
|
||||
static CURLcode test_unit1307(char *arg)
|
||||
static CURLcode test_unit1307(const char *arg)
|
||||
{
|
||||
UNITTEST_BEGIN_SIMPLE
|
||||
UNITTEST_END_SIMPLE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue