diff --git a/c++/test/titerate.cpp b/c++/test/titerate.cpp index 5d20f80e9f5..70eb25f2a57 100644 --- a/c++/test/titerate.cpp +++ b/c++/test/titerate.cpp @@ -179,7 +179,7 @@ test_iter_group(FileAccPropList &fapl) check_values(lnames[NDATASETS], "HDstrdup returns NULL", __LINE__, __FILE__); /* Sort the dataset names */ - HDqsort(lnames, NDATASETS + 2, sizeof(char *), iter_strcmp); + qsort(lnames, NDATASETS + 2, sizeof(char *), iter_strcmp); /* Iterate through the datasets in the root group in various ways */ diff --git a/src/H5private.h b/src/H5private.h index d8c8aee58b6..2a1aa7ffb92 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -1164,9 +1164,6 @@ H5_DLL H5_ATTR_CONST int Nflock(int fd, int operation); #ifndef HDsymlink #define HDsymlink(F1, F2) symlink(F1, F2) #endif -#ifndef HDsystem -#define HDsystem(S) system(S) -#endif #ifndef HDtime #define HDtime(T) time(T) #endif diff --git a/tools/test/perform/iopipe.c b/tools/test/perform/iopipe.c index b8159392c4d..2edb581d901 100644 --- a/tools/test/perform/iopipe.c +++ b/tools/test/perform/iopipe.c @@ -99,10 +99,10 @@ synchronize(void) #else int H5_ATTR_NDEBUG_UNUSED status; - status = HDsystem("sync"); + status = system("sync"); assert(status >= 0); - status = HDsystem("df >/dev/null"); + status = system("df >/dev/null"); assert(status >= 0); #endif }