summaryrefslogtreecommitdiffstats
path: root/test/overhead.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/overhead.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/overhead.c')
-rw-r--r--test/overhead.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/test/overhead.c b/test/overhead.c
index 6aab340..69ec1b2 100644
--- a/test/overhead.c
+++ b/test/overhead.c
@@ -10,7 +10,7 @@
/* See H5private.h for how to include headers */
#undef NDEBUG
-#include <H5config.h>
+#include <hdf5.h>
#ifdef STDC_HEADERS
# include <ctype.h>
@@ -24,8 +24,6 @@
# include <unistd.h>
#endif
-#include <hdf5.h>
-
#ifndef HAVE_ATTRIBUTE
# undef __attribute__
# define __attribute__(X) /*void*/
@@ -239,7 +237,7 @@ test(fill_t fill_style, const double splits[],
if (verbose) {
if (H5Fflush(file, H5F_SCOPE_LOCAL)<0) goto error;
if (fstat(fd, &sb)<0) goto error;
- /*
+ /*
* The extra cast in the following statement is a bug workaround
* for the Win32 version 5.0 compiler.
* 1998-11-06 ptl
@@ -283,7 +281,8 @@ test(fill_t fill_style, const double splits[],
* 1998-11-06 ptl
*/
printf("%-7s %8.3f\n", sname,
- (double)((hssize_t)((sb.st_size-cur_size[0]*sizeof(int))/cur_size[0])));
+ (double)((hssize_t)((sb.st_size-cur_size[0]*sizeof(int))/
+ cur_size[0])));
}
close(fd);