summaryrefslogtreecommitdiffstats
path: root/src/H5timer.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-06-28 14:31:56 (GMT)
committerGitHub <noreply@github.com>2023-06-28 14:31:56 (GMT)
commit7a44581a84778a1346a2fd5b6cca7d9db905a321 (patch)
tree44ea9c2d1b471eb227698abe8499c34cfa6d47d2 /src/H5timer.c
parent622fcbd13881fbc58bbeaed3062583b759f5e864 (diff)
downloadhdf5-7a44581a84778a1346a2fd5b6cca7d9db905a321.zip
hdf5-7a44581a84778a1346a2fd5b6cca7d9db905a321.tar.gz
hdf5-7a44581a84778a1346a2fd5b6cca7d9db905a321.tar.bz2
Rename HDassert() to assert() (#3191)
* Change HDassert to assert * Fix bin/make_err
Diffstat (limited to 'src/H5timer.c')
-rw-r--r--src/H5timer.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/H5timer.c b/src/H5timer.c
index 7065814..7690c57 100644
--- a/src/H5timer.c
+++ b/src/H5timer.c
@@ -275,7 +275,7 @@ static herr_t
H5__timer_get_timevals(H5_timevals_t *times /*in,out*/)
{
/* Sanity check */
- HDassert(times);
+ assert(times);
/* Windows call handles both system/user and elapsed times */
#ifdef H5_HAVE_WIN32_API
@@ -375,7 +375,7 @@ herr_t
H5_timer_init(H5_timer_t *timer /*in,out*/)
{
/* Sanity check */
- HDassert(timer);
+ assert(timer);
/* Initialize everything */
HDmemset(timer, 0, sizeof(H5_timer_t));
@@ -400,7 +400,7 @@ herr_t
H5_timer_start(H5_timer_t *timer /*in,out*/)
{
/* Sanity check */
- HDassert(timer);
+ assert(timer);
/* Start the timer
* This sets the "initial" times to the system-defined start times.
@@ -430,7 +430,7 @@ herr_t
H5_timer_stop(H5_timer_t *timer /*in,out*/)
{
/* Sanity check */
- HDassert(timer);
+ assert(timer);
/* Stop the timer */
if (H5__timer_get_timevals(&(timer->final_interval)) < 0)
@@ -481,7 +481,7 @@ herr_t
H5_timer_get_times(H5_timer_t timer, H5_timevals_t *times /*in,out*/)
{
/* Sanity check */
- HDassert(times);
+ assert(times);
if (timer.is_running) {
H5_timevals_t now;
@@ -536,7 +536,7 @@ herr_t
H5_timer_get_total_times(H5_timer_t timer, H5_timevals_t *times /*in,out*/)
{
/* Sanity check */
- HDassert(times);
+ assert(times);
if (timer.is_running) {
H5_timevals_t now;