summaryrefslogtreecommitdiffstats
path: root/src/H5timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5timer.c')
-rw-r--r--src/H5timer.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/H5timer.c b/src/H5timer.c
index 7065814..c264097 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,10 +375,10 @@ 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));
+ memset(timer, 0, sizeof(H5_timer_t));
return 0;
} /* end H5_timer_init() */
@@ -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;
@@ -617,7 +617,7 @@ H5_timer_get_time_string(double seconds)
} /* end if */
/* Allocate */
- if (NULL == (s = (char *)HDcalloc(H5TIMER_TIME_STRING_LEN, sizeof(char))))
+ if (NULL == (s = (char *)calloc(H5TIMER_TIME_STRING_LEN, sizeof(char))))
return NULL;
/* Do we need a format string? Some people might like a certain