summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/flush1.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/test/flush1.c b/test/flush1.c
index 71c2dfe..bf57d7b 100644
--- a/test/flush1.c
+++ b/test/flush1.c
@@ -13,14 +13,6 @@
*/
#include "h5test.h"
-
-#if defined __MWERKS__
-#include <abort_exit.h>
-# define EXIT(a) __exit(a)
-#else
-# define EXIT(a) _exit(a)
-#endif
-
const char *FILENAME[] = {
"flush",
NULL
@@ -97,10 +89,10 @@ main(void)
PASSED();
fflush(stdout);
fflush(stderr);
- _exit(0);
+ HD_exit(0);
return 0;
error:
- _exit(1);
+ HD_exit(1);
return 1;
}