summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authormyang6 <myang6@hdfgroup.org>2021-10-15 19:12:00 (GMT)
committermyang6 <myang6@hdfgroup.org>2021-10-15 19:12:00 (GMT)
commit97638647034a0452bed5bc0b2eb951e41f5c92b0 (patch)
treeb6dc316c394cd8a0feb07da8f9260d2c2880860c /test
parent89cde3e0009bf2e97319ba3f36c100c97b6208e1 (diff)
downloadhdf5-97638647034a0452bed5bc0b2eb951e41f5c92b0.zip
hdf5-97638647034a0452bed5bc0b2eb951e41f5c92b0.tar.gz
hdf5-97638647034a0452bed5bc0b2eb951e41f5c92b0.tar.bz2
Clean up H5Fint.c, ready to implement the report function.
Diffstat (limited to 'test')
-rw-r--r--test/vfd_swmr_common.c4
-rw-r--r--test/vfd_swmr_common.h2
-rw-r--r--test/vfd_swmr_log_writer.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/test/vfd_swmr_common.c b/test/vfd_swmr_common.c
index f20f01e..d6750e0 100644
--- a/test/vfd_swmr_common.c
+++ b/test/vfd_swmr_common.c
@@ -370,7 +370,7 @@ init_vfd_swmr_config(H5F_vfd_swmr_config_t *config, uint32_t tick_len, uint32_t
} /* init_vfd_swmr_config() */
void
-init_vfd_swmr_config_log(H5F_vfd_swmr_config_t *config, const char *log_file_fmtstr,...)
+init_vfd_swmr_log(H5F_vfd_swmr_config_t *config, const char *log_file_fmtstr,...)
{
va_list ap;
@@ -379,7 +379,7 @@ init_vfd_swmr_config_log(H5F_vfd_swmr_config_t *config, const char *log_file_fmt
evsnprintf(config->log_file_path, sizeof(config->log_file_path), log_file_fmtstr, ap);
HDva_end(ap);
-} /* init_vfd_swmr_config() */
+} /* init_vfd_swmr_log() */
/* Perform common VFD SWMR configuration on the file-access property list:
diff --git a/test/vfd_swmr_common.h b/test/vfd_swmr_common.h
index 8c51e0b..c011142 100644
--- a/test/vfd_swmr_common.h
+++ b/test/vfd_swmr_common.h
@@ -77,7 +77,7 @@ H5TEST_DLL void init_vfd_swmr_config(H5F_vfd_swmr_config_t *config, uint32_t tic
hbool_t writer, hbool_t flush_raw_data, uint32_t md_pages_reserved,
const char *md_file_fmtstr, ...) H5_ATTR_FORMAT(printf, 7, 8);
-H5TEST_DLL void init_vfd_swmr_config_log(H5F_vfd_swmr_config_t *config, const char * log_file_fmtstr, ...) H5_ATTR_FORMAT(printf, 2, 3);
+H5TEST_DLL void init_vfd_swmr_log(H5F_vfd_swmr_config_t *config, const char * log_file_fmtstr, ...) H5_ATTR_FORMAT(printf, 2, 3);
H5TEST_DLL hid_t vfd_swmr_create_fcpl(H5F_fspace_strategy_t fs_strategy, hsize_t fs_page_size);
diff --git a/test/vfd_swmr_log_writer.c b/test/vfd_swmr_log_writer.c
index 1834d44..9ab50bd 100644
--- a/test/vfd_swmr_log_writer.c
+++ b/test/vfd_swmr_log_writer.c
@@ -2763,7 +2763,7 @@ main(int argc, char **argv)
/* config, tick_len, max_lag, writer, flush_raw_data, md_pages_reserved, md_file_path */
init_vfd_swmr_config(&config, s.tick_len, s.max_lag, writer, FALSE, 128, "./group-shadow");
- init_vfd_swmr_config_log(&config, "./log-test");
+ init_vfd_swmr_log(&config, "./log-test");
/* If old-style option is chosen, use the earliest file format(H5F_LIBVER_EARLIEST)
* as the second parameter of H5Pset_libver_bound() that is called by