diff options
author | Scot Breitenfeld <brtnfld@hdfgroup.org> | 2023-09-26 20:11:22 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-26 20:11:22 (GMT) |
commit | a87ca572fed15303ad36adcb6f2203f8297e8277 (patch) | |
tree | 88d481127b274229c2e3a21146015fab2c82aa0e /test/links_env.c | |
parent | 58f3d6664e7a2af8d6b1813374ab02d72795a5e1 (diff) | |
download | hdf5-a87ca572fed15303ad36adcb6f2203f8297e8277.zip hdf5-a87ca572fed15303ad36adcb6f2203f8297e8277.tar.gz hdf5-a87ca572fed15303ad36adcb6f2203f8297e8277.tar.bz2 |
Replaces HDgetenv with getenv (#3599)
Diffstat (limited to 'test/links_env.c')
-rw-r--r-- | test/links_env.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/links_env.c b/test/links_env.c index 3c67623..1eae52a 100644 --- a/test/links_env.c +++ b/test/links_env.c @@ -61,7 +61,7 @@ external_link_env(hid_t fapl, bool new_format) else TESTING("external links via environment variable"); - if ((envval = HDgetenv("HDF5_EXT_PREFIX")) == NULL) + if ((envval = getenv("HDF5_EXT_PREFIX")) == NULL) envval = "nomatch"; if (strcmp(envval, ".:tmp_links_env") != 0) TEST_ERROR; @@ -149,7 +149,7 @@ main(void) int nerrors = 0; /* Error from tests */ /* Get the VFD to use */ - env_h5_drvr = HDgetenv(HDF5_DRIVER); + env_h5_drvr = getenv(HDF5_DRIVER); if (env_h5_drvr == NULL) env_h5_drvr = "nomatch"; |