summaryrefslogtreecommitdiffstats
path: root/tools/test/perform
diff options
context:
space:
mode:
Diffstat (limited to 'tools/test/perform')
-rw-r--r--tools/test/perform/iopipe.c4
-rw-r--r--tools/test/perform/zip_perf.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/test/perform/iopipe.c b/tools/test/perform/iopipe.c
index d536e7e..bc15fdf 100644
--- a/tools/test/perform/iopipe.c
+++ b/tools/test/perform/iopipe.c
@@ -148,7 +148,7 @@ main(void)
the_data = (unsigned char *)malloc((size_t)(size[0] * size[1]));
/* initial fill for lazy malloc */
- HDmemset(the_data, 0xAA, (size_t)(size[0] * size[1]));
+ memset(the_data, 0xAA, (size_t)(size[0] * size[1]));
/* Fill raw */
synchronize();
@@ -160,7 +160,7 @@ main(void)
for (u = 0; u < nwrite; u++) {
HDputc(PROGRESS, stderr);
fflush(stderr);
- HDmemset(the_data, 0xAA, (size_t)(size[0] * size[1]));
+ memset(the_data, 0xAA, (size_t)(size[0] * size[1]));
}
#ifdef H5_HAVE_GETRUSAGE
getrusage(RUSAGE_SELF, &r_stop);
diff --git a/tools/test/perform/zip_perf.c b/tools/test/perform/zip_perf.c
index 2bcdb2a..b8b80e8 100644
--- a/tools/test/perform/zip_perf.c
+++ b/tools/test/perform/zip_perf.c
@@ -342,7 +342,7 @@ fill_with_random_data(Bytef *src, uLongf src_len)
if (compress_percent) {
size_t s = (size_t)((src_len * (uLongf)compress_percent) / 100);
- HDmemset(src, '\0', s);
+ memset(src, '\0', s);
}
}