summaryrefslogtreecommitdiffstats
path: root/tools/lib
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-01-12 15:39:56 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-01-12 15:40:07 (GMT)
commit1501cacbdfdacda1f160e1698d9986553bfe9e92 (patch)
tree008e58a66e67e302488fe92dc661ff84050eed78 /tools/lib
parent1091e21bebc264a5ea7c100d871407de9a740cc9 (diff)
downloadhdf5-1501cacbdfdacda1f160e1698d9986553bfe9e92.zip
hdf5-1501cacbdfdacda1f160e1698d9986553bfe9e92.tar.gz
hdf5-1501cacbdfdacda1f160e1698d9986553bfe9e92.tar.bz2
Fix CMake test macros and perform standalone tests
Diffstat (limited to 'tools/lib')
-rw-r--r--tools/lib/io_timer.c8
-rw-r--r--tools/lib/io_timer.h4
2 files changed, 6 insertions, 6 deletions
diff --git a/tools/lib/io_timer.c b/tools/lib/io_timer.c
index ae299fa..cb89019 100644
--- a/tools/lib/io_timer.c
+++ b/tools/lib/io_timer.c
@@ -123,14 +123,14 @@ get_timer_type(io_time_t *pt)
#endif
/*
- * Function: set_time
+ * Function: io_time_set
* Purpose: Set the time in a ``io_time_t'' object.
* Return: Pointer to the passed in ``io_time_t'' object if SUCCEED; Null otherwise.
* Programmer: Bill Wendling, 01. October 2001
* Modifications:
*/
io_time_t *
-set_time(io_time_t *pt, timer_type t, int start_stop)
+io_time_set(io_time_t *pt, timer_type t, int start_stop)
{
/* sanity check */
HDassert(pt);
@@ -207,14 +207,14 @@ set_time(io_time_t *pt, timer_type t, int start_stop)
}
/*
- * Function: get_time
+ * Function: io_time_get
* Purpose: Get the time from a ``io_time_t'' object.
* Return: The number of seconds as a DOUBLE.
* Programmer: Bill Wendling, 01. October 2001
* Modifications:
*/
H5_ATTR_PURE double
-get_time(io_time_t *pt, timer_type t)
+io_time_get(io_time_t *pt, timer_type t)
{
/* sanity check */
HDassert(pt);
diff --git a/tools/lib/io_timer.h b/tools/lib/io_timer.h
index 48b6c87..78bf676 100644
--- a/tools/lib/io_timer.h
+++ b/tools/lib/io_timer.h
@@ -72,8 +72,8 @@ extern "C" {
#endif /* __cplusplus */
H5TOOLS_DLL io_time_t *io_time_new(clock_type t);
H5TOOLS_DLL void io_time_destroy(io_time_t *pt);
-H5TOOLS_DLL io_time_t *set_time(io_time_t *pt, timer_type t, int start_stop);
-H5TOOLS_DLL double get_time(io_time_t *pt, timer_type t);
+H5TOOLS_DLL io_time_t *io_time_set(io_time_t *pt, timer_type t, int start_stop);
+H5TOOLS_DLL double io_time_get(io_time_t *pt, timer_type t);
#ifdef __cplusplus
}
#endif /* __cplusplus */