diff options
author | Robb Matzke <matzke@llnl.gov> | 1998-11-19 18:52:56 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 1998-11-19 18:52:56 (GMT) |
commit | e0dfe872a0c01d82a32e0e45c91012b301f8129e (patch) | |
tree | b0ac79bd19d3f23cb71bb6c2215e09bbcf5c1ec8 /tools | |
parent | 68bff3d352a5a8d87f582fb1a84361f3006b5ff4 (diff) | |
download | hdf5-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 'tools')
-rw-r--r-- | tools/h5import.c | 3 | ||||
-rw-r--r-- | tools/h5ls.c | 11 | ||||
-rw-r--r-- | tools/h5repart.c | 3 |
3 files changed, 4 insertions, 13 deletions
diff --git a/tools/h5import.c b/tools/h5import.c index 5d36e78..90efec7 100644 --- a/tools/h5import.c +++ b/tools/h5import.c @@ -9,7 +9,7 @@ */ /* See H5private.h for how to include system headers */ -#include <H5config.h> +#include <hdf5.h> #ifdef STDC_HEADERS # include <fcntl.h> # include <string.h> @@ -26,7 +26,6 @@ # include <sys/stat.h> #endif -#include <hdf5.h> /*------------------------------------------------------------------------- diff --git a/tools/h5ls.c b/tools/h5ls.c index 4e21cca..fa0c00b 100644 --- a/tools/h5ls.c +++ b/tools/h5ls.c @@ -9,19 +9,12 @@ /* * We include the private header file so we can get to the uniform - * programming environment it declares. + * programming environment it declares. Other than that, h5ls only calls + * HDF5 API functions. */ #include <H5private.h> #include <h5tools.h> -#ifndef HAVE_ATTRIBUTE -# undef __attribute__ -# define __attribute__(X) /*void*/ -# define __unused__ /*void*/ -#else -# define __unused__ __attribute__((unused)) -#endif - /* Command-line switches */ static int verbose_g = 0; /*lots of extra output */ static int width_g = 80; /*output width in characters */ diff --git a/tools/h5repart.c b/tools/h5repart.c index b1a878e..6f6f2df 100644 --- a/tools/h5repart.c +++ b/tools/h5repart.c @@ -13,7 +13,7 @@ */ /* See H5private.h for how to include system headers */ -#include <H5config.h> +#include <hdf5.h> #ifdef STDC_HEADERS # include <ctype.h> # include <errno.h> @@ -32,7 +32,6 @@ # include <sys/stat.h> #endif -#include <hdf5.h> #define FALSE 0 #define TRUE 1 #define NAMELEN 4096 |