mirror of
https://github.com/curl/curl.git
synced 2026-08-25 16:33:38 +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
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
#include "memdebug.h" /* LAST include file */
|
||||
|
||||
static CURLcode test_tool1394(char *arg)
|
||||
static CURLcode test_tool1394(const char *arg)
|
||||
{
|
||||
UNITTEST_BEGIN_SIMPLE
|
||||
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ static char *getcurlcodestr(int cc)
|
|||
}
|
||||
#endif
|
||||
|
||||
static CURLcode test_tool1604(char *arg)
|
||||
static CURLcode test_tool1604(const char *arg)
|
||||
{
|
||||
UNITTEST_BEGIN_SIMPLE
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
|
||||
#include "memdebug.h" /* LAST include file */
|
||||
|
||||
static CURLcode test_tool1621(char *arg)
|
||||
static CURLcode test_tool1621(const char *arg)
|
||||
{
|
||||
UNITTEST_BEGIN_SIMPLE
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue