diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2001-06-29 18:53:29 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2001-06-29 18:53:29 (GMT) |
commit | 955ef79577044849f77e718011fe1a525971ac92 (patch) | |
tree | 403241392023c64f1f7bbf518d66c7ba4cc9e829 /test | |
parent | aca104be974d9857a47b2c6b877c694693870b8b (diff) | |
download | hdf5-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.c | 13 | ||||
-rw-r--r-- | test/iopipe.c | 11 |
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 |