1 8 Remove const from the argv tools/tests main sig. #1390 (#1406)

This commit is contained in:
Allen Byrne
2022-01-29 14:30:54 -06:00
committed by GitHub
parent f8578a5e5c
commit f64b2c0f25
23 changed files with 66 additions and 65 deletions

View File

@@ -194,7 +194,7 @@ parse_subset_params(const char *dset)
*/
void
parse_command_line(int argc, const char *argv[], const char **fname1, const char **fname2,
parse_command_line(int argc, const char *const *argv, const char **fname1, const char **fname2,
const char **objname1, const char **objname2, diff_opt_t *opts)
{
int i;
@@ -271,7 +271,7 @@ parse_command_line(int argc, const char *argv[], const char **fname1, const char
break;
case 'q':
/* use quiet mode; supress the message "0 differences found" */
/* use quiet mode; suppress the message "0 differences found" */
opts->mode_quiet = 1;
break;