Rename HDato*() to ato*() (#3201)

This commit is contained in:
Dana Robinson
2023-06-29 06:33:09 -07:00
committed by GitHub
parent a90bdbbcfc
commit dd39b54c95
33 changed files with 102 additions and 114 deletions
+2 -2
View File
@@ -194,11 +194,11 @@ parse_args(int argc, char **argv, struct op_args *args_out)
} /* end if help */
else if (!HDstrncmp(argv[i], "--port=", 7)) {
mirror_log(NULL, V_INFO, "parsing 'main_port' (%s)", argv[i] + 7);
args_out->main_port = HDatoi(argv[i] + 7);
args_out->main_port = atoi(argv[i] + 7);
} /* end if port */
else if (!HDstrncmp(argv[i], "--verbosity=", 12)) {
mirror_log(NULL, V_INFO, "parsing 'verbosity' (%s)", argv[i] + 12);
args_out->verbosity = (unsigned int)HDatoi(argv[i] + 12);
args_out->verbosity = (unsigned int)atoi(argv[i] + 12);
} /* end if verbosity */
else if (!HDstrncmp(argv[i], "--logpath=", 10)) {
mirror_log(NULL, V_INFO, "parsing 'logpath' (%s)", argv[i] + 10);
+1 -1
View File
@@ -99,7 +99,7 @@ parse_args(int argc, char **argv, struct mshs_opts *opts)
HDstrncpy(opts->ip, argv[i] + 5, MSHS_IP_STR_SIZE);
}
else if (!HDstrncmp(argv[i], "--port=", 7)) {
opts->portno = HDatoi(argv[i] + 7);
opts->portno = atoi(argv[i] + 7);
}
else {
printf("Unrecognized option: '%s'\n", argv[i]);
+1 -1
View File
@@ -1352,7 +1352,7 @@ main(int argc, char *argv[])
#if 0
env_var = HDgetenv("HDF5_H5DWALK_PRINT_CMDLINE");
if (env_var) {
int enable = HDatoi(env_var);
int enable = atoi(env_var);
if (enable) {
}