diff options
Diffstat (limited to 'tools/h5ls.c')
-rw-r--r-- | tools/h5ls.c | 11 |
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 */ |