summaryrefslogtreecommitdiffstats
path: root/tools/h5ls.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 /tools/h5ls.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 'tools/h5ls.c')
-rw-r--r--tools/h5ls.c11
1 files changed, 2 insertions, 9 deletions
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 */