summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/h5import.c3
-rw-r--r--tools/h5ls.c11
-rw-r--r--tools/h5repart.c3
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