diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2023-07-27 20:43:30 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-27 20:43:30 (GMT) |
commit | 1e91d96fa02466ffe451319bdac1005f84dc7993 (patch) | |
tree | 4de04ef502c313dfd766497b20235188761146c0 /fortran/test/t.c | |
parent | 95e5349089b95dfb95f0f8ce2d6db1bc04ba6c82 (diff) | |
download | hdf5-1e91d96fa02466ffe451319bdac1005f84dc7993.zip hdf5-1e91d96fa02466ffe451319bdac1005f84dc7993.tar.gz hdf5-1e91d96fa02466ffe451319bdac1005f84dc7993.tar.bz2 |
Brings over most of the HD prefix removal (#3293)
Diffstat (limited to 'fortran/test/t.c')
-rw-r--r-- | fortran/test/t.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/fortran/test/t.c b/fortran/test/t.c index b89e8ae..f3b326b 100644 --- a/fortran/test/t.c +++ b/fortran/test/t.c @@ -49,7 +49,7 @@ nh5_fixname_c(_fcd base_name, size_t_f *base_namelen, hid_t_f *fapl, _fcd full_n */ if (NULL == (c_base_name = (char *)HD5f2cstring(base_name, (size_t)*base_namelen))) HGOTO_DONE(FAIL) - if (NULL == (c_full_name = (char *)HDmalloc((size_t)*full_namelen + 1))) + if (NULL == (c_full_name = (char *)malloc((size_t)*full_namelen + 1))) HGOTO_DONE(FAIL) /* @@ -61,9 +61,9 @@ nh5_fixname_c(_fcd base_name, size_t_f *base_namelen, hid_t_f *fapl, _fcd full_n done: if (c_base_name) - HDfree(c_base_name); + free(c_base_name); if (c_full_name) - HDfree(c_full_name); + free(c_full_name); return ret_value; } @@ -112,7 +112,7 @@ nh5_cleanup_c(_fcd base_name, size_t_f *base_namelen, hid_t_f *fapl) DONE: if (NULL != c_base_name[0]) - HDfree(c_base_name[0]); + free(c_base_name[0]); return ret_value; } @@ -130,7 +130,7 @@ DONE: void nh5_exit_c(int_f *status) { - HDexit((int)*status); + exit((int)*status); } /* h5_exit_c */ /*---------------------------------------------------------------------------- |