summaryrefslogtreecommitdiffstats
path: root/src/H5trace.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5trace.c')
-rw-r--r--src/H5trace.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5trace.c b/src/H5trace.c
index 92736d4..2babcd4 100644
--- a/src/H5trace.c
+++ b/src/H5trace.c
@@ -156,7 +156,7 @@ H5_trace(const double *returning, const char *func, const char *type, ...)
} /* end if */
/* Get tim for event */
- if(fabs(first_time.etime) < 0.0000000001)
+ if(HDfabs(first_time.etime) < 0.0000000001)
/* That is == 0.0, but direct comparison between floats is bad */
H5_timer_begin(&first_time);
if(H5_debug_g.ttimes)
@@ -179,10 +179,10 @@ H5_trace(const double *returning, const char *func, const char *type, ...)
char tmp[128];
sprintf(tmp, "%.6f", event_time.etime-first_time.etime);
- fprintf(out, " %*s ", (int)strlen(tmp), "");
+ fprintf(out, " %*s ", (int)HDstrlen(tmp), "");
} /* end if */
for(i = 0; i < current_depth; i++)
- fputc('+', out);
+ HDfputc('+', out);
fprintf(out, "%*s%s = ", 2*current_depth, "", func);
} /* end if */
else {
@@ -192,11 +192,11 @@ H5_trace(const double *returning, const char *func, const char *type, ...)
} /* end if */
else {
if(current_depth>last_call_depth)
- fputs(" = <delayed>\n", out);
+ HDfputs(" = <delayed>\n", out);
if(H5_debug_g.ttimes)
fprintf(out, "@%.6f ", event_time.etime - first_time.etime);
for(i = 0; i < current_depth; i++)
- fputc('+', out);
+ HDfputc('+', out);
fprintf(out, "%*s%s(", 2*current_depth, "", func);
} /* end else */