summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2001-06-29 18:53:29 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2001-06-29 18:53:29 (GMT)
commit955ef79577044849f77e718011fe1a525971ac92 (patch)
tree403241392023c64f1f7bbf518d66c7ba4cc9e829 /test
parentaca104be974d9857a47b2c6b877c694693870b8b (diff)
downloadhdf5-955ef79577044849f77e718011fe1a525971ac92.zip
hdf5-955ef79577044849f77e718011fe1a525971ac92.tar.gz
hdf5-955ef79577044849f77e718011fe1a525971ac92.tar.bz2
[svn-r4086] Purpose:
Code Cleanup Description: CodeWarrior checkin broke the unix build in a couple of ways... Solution: Various tweaks and cleanups. Platforms tested: FreeBSD 4.3 (hawkwind)
Diffstat (limited to 'test')
-rw-r--r--test/flush1.c13
-rw-r--r--test/iopipe.c11
2 files changed, 2 insertions, 22 deletions
diff --git a/test/flush1.c b/test/flush1.c
index c543bcf..e2eb9f7 100644
--- a/test/flush1.c
+++ b/test/flush1.c
@@ -13,15 +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 +88,10 @@ main(void)
PASSED();
fflush(stdout);
fflush(stderr);
- EXIT(0);
+ HD_exit(0);
return 0;
error:
- EXIT(1);
+ HD_exit(1);
return 1;
}
diff --git a/test/iopipe.c b/test/iopipe.c
index d8f6247..fc50012 100644
--- a/test/iopipe.c
+++ b/test/iopipe.c
@@ -41,17 +41,6 @@
# include <Winsock.h>
#endif
-
-#if defined (__MWERKS__)
-#ifdef H5_HAVE_SYS_TIMEB
-#undef H5_HAVE_SYS_TIMEB
-#endif
-#ifdef H5_HAVE_SYSTEM
-#undef H5_HAVE_SYSTEM
-#endif
-#endif
-
-
#ifdef H5_HAVE_SYS_TIMEB
# include <sys/timeb.h>
#endif