summaryrefslogtreecommitdiffstats
path: root/test/mtime.c
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1998-11-19 18:52:56 (GMT)
committerRobb Matzke <matzke@llnl.gov>1998-11-19 18:52:56 (GMT)
commite0dfe872a0c01d82a32e0e45c91012b301f8129e (patch)
treeb0ac79bd19d3f23cb71bb6c2215e09bbcf5c1ec8 /test/mtime.c
parent68bff3d352a5a8d87f582fb1a84361f3006b5ff4 (diff)
downloadhdf5-e0dfe872a0c01d82a32e0e45c91012b301f8129e.zip
hdf5-e0dfe872a0c01d82a32e0e45c91012b301f8129e.tar.gz
hdf5-e0dfe872a0c01d82a32e0e45c91012b301f8129e.tar.bz2
[svn-r929] Changes since 19981119
---------------------- ./test/flush2.c ./test/overhead.c Removed carriage-returns inserted by a broken operating system. ./test/big.c ./test/mtime.c ./test/ragged.c ./tools/h5ls.c Removed inclusion of <H5config.h>, system header files, and definition of __unused__ since this all happens in <H5private.h>. ./test/chunk.c ./test/cmpd_dset.c ./test/dsets.c ./test/dtypes.c ./test/extend.c ./test/external.c ./test/fillval.c ./test/flush1.c ./test/flush2.c ./test/iopipe.c ./test/links.c ./test/mount.c ./test/overhead.c ./test/shtype.c ./test/unlink.c ./tools/h5import.c ./tools/h5repart.c Removed inclusion of <H5config.h> since <hdf5.h> includes it. ./test/flush1.c Includes <stdlib.h>, protects inclusion of <unistd.h> by using HAVE_UNISTD_H instead of STDC_HEADERS.
Diffstat (limited to 'test/mtime.c')
-rw-r--r--test/mtime.c26
1 files changed, 1 insertions, 25 deletions
diff --git a/test/mtime.c b/test/mtime.c
index 0c019a6..6fadbfd 100644
--- a/test/mtime.c
+++ b/test/mtime.c
@@ -13,35 +13,11 @@
/* See H5private.h for how to include headers */
#undef NDEBUG
-#include <H5config.h>
-
-#ifdef STDC_HEADERS
-# include <assert.h>
-# include <math.h>
-#endif
-
-#if defined(TIME_WITH_SYS_TIME)
-# include <sys/time.h>
-# include <time.h>
-#elif defined(HAVE_SYS_TIME_H)
-# include <sys/time.h>
-#else
-# include <time.h>
-#endif
-
#include <hdf5.h>
-#include <H5private.h> /*for HDdifftime()*/
+#include <H5private.h> /*for HDdifftime() and __unused__ */
#define FILE_NAME_1 "mtime.h5"
-#ifndef HAVE_ATTRIBUTE
-# undef __attribute__
-# define __attribute__(X) /*void*/
-# define __unused__ /*void*/
-#else
-# define __unused__ __attribute__((unused))
-#endif
-
/*-------------------------------------------------------------------------
* Function: display_error_cb