summaryrefslogtreecommitdiffstats
path: root/test/vfd_swmr_common.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2021-03-26 23:16:38 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2021-03-26 23:16:38 (GMT)
commit0a73f3dd4b33abbd3ea9b024442e40ae05e56549 (patch)
tree4d4b5db05bca88459dc333cd3da57e0816419370 /test/vfd_swmr_common.c
parent0011a5e758c2efa386fbeaa81553852c90c48e86 (diff)
downloadhdf5-0a73f3dd4b33abbd3ea9b024442e40ae05e56549.zip
hdf5-0a73f3dd4b33abbd3ea9b024442e40ae05e56549.tar.gz
hdf5-0a73f3dd4b33abbd3ea9b024442e40ae05e56549.tar.bz2
Fixed 1.6 compatibility issues and ran source formatter
Diffstat (limited to 'test/vfd_swmr_common.c')
-rw-r--r--test/vfd_swmr_common.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/vfd_swmr_common.c b/test/vfd_swmr_common.c
index 93abe60..dad9e3d 100644
--- a/test/vfd_swmr_common.c
+++ b/test/vfd_swmr_common.c
@@ -126,7 +126,7 @@ disable_estack(void)
{
estack_state_t es = estack_get_state();
- (void)H5Eset_auto(H5E_DEFAULT, NULL, NULL);
+ (void)H5Eset_auto2(H5E_DEFAULT, NULL, NULL);
return es;
}
@@ -137,7 +137,7 @@ estack_get_state(void)
{
estack_state_t es;
- (void)H5Eget_auto(H5E_DEFAULT, &es.efunc, &es.edata);
+ (void)H5Eget_auto2(H5E_DEFAULT, &es.efunc, &es.edata);
return es;
}
@@ -148,7 +148,7 @@ estack_get_state(void)
void
restore_estack(estack_state_t es)
{
- (void)H5Eset_auto(H5E_DEFAULT, es.efunc, es.edata);
+ (void)H5Eset_auto2(H5E_DEFAULT, es.efunc, es.edata);
}
#ifndef H5_HAVE_WIN32_API