summaryrefslogtreecommitdiffstats
path: root/test/flush1.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2001-06-29 19:49:53 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2001-06-29 19:49:53 (GMT)
commit8c2c4cd51cb8dd1393acad65e3f015d76bfd9563 (patch)
treea663d3ab5cc66e53485a66d973b55dbb571640be /test/flush1.c
parent098ed81ec88483581d08974f27a62bf42a836fc3 (diff)
downloadhdf5-8c2c4cd51cb8dd1393acad65e3f015d76bfd9563.zip
hdf5-8c2c4cd51cb8dd1393acad65e3f015d76bfd9563.tar.gz
hdf5-8c2c4cd51cb8dd1393acad65e3f015d76bfd9563.tar.bz2
[svn-r4088] Purpose:
Code cleanup Description: Recent CodeWarrior patches have broken the Unix builds and moved code around in non-portable ways. Solution: Patched things back up to try to accomodate CodeWarrior and still let the Unix builds work correctly. Platforms tested: FreeBSD 4.3 (hawkwind)
Diffstat (limited to 'test/flush1.c')
-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;
}