diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2017-07-24 18:02:15 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2017-07-24 18:02:15 (GMT) |
commit | 4b7013194cd545b73b1cf70874470dc6abfcb3bd (patch) | |
tree | 04a43a7bef96ee7e235d0b349b41cf4a753fb042 /tools/src/misc | |
parent | 45724d8082ad1dc0f22262add83f4ffa526c4ac4 (diff) | |
download | hdf5-4b7013194cd545b73b1cf70874470dc6abfcb3bd.zip hdf5-4b7013194cd545b73b1cf70874470dc6abfcb3bd.tar.gz hdf5-4b7013194cd545b73b1cf70874470dc6abfcb3bd.tar.bz2 |
Cherry pick of some minor tools fixes from develop:
ee7816bbfb3
ffc9b1d917c
ec7450c4b4b
Diffstat (limited to 'tools/src/misc')
-rw-r--r-- | tools/src/misc/h5mkgrp.c | 2 | ||||
-rw-r--r-- | tools/src/misc/h5repart.c | 34 |
2 files changed, 2 insertions, 34 deletions
diff --git a/tools/src/misc/h5mkgrp.c b/tools/src/misc/h5mkgrp.c index 597b6b3..43d6bfe 100644 --- a/tools/src/misc/h5mkgrp.c +++ b/tools/src/misc/h5mkgrp.c @@ -15,8 +15,6 @@ #include "H5private.h" #include "h5tools.h" #include "h5tools_utils.h" -#include <string.h> -#include <stdlib.h> /* Name of tool */ #define PROGRAMNAME "h5mkgrp" diff --git a/tools/src/misc/h5repart.c b/tools/src/misc/h5repart.c index 911e0c6..5190197 100644 --- a/tools/src/misc/h5repart.c +++ b/tools/src/misc/h5repart.c @@ -25,39 +25,9 @@ /* See H5private.h for how to include system headers */ #include "hdf5.h" #include "H5private.h" -#ifdef H5_STDC_HEADERS -# include <ctype.h> -# include <errno.h> -# include <fcntl.h> -# include <stdio.h> -# include <stdlib.h> -# include <string.h> -#endif - -#ifdef H5_HAVE_UNISTD_H -# include <sys/types.h> -# include <unistd.h> -#endif - -#ifdef H5_HAVE_SYS_STAT_H -# include <sys/stat.h> -#endif - -#ifndef FALSE -# define FALSE 0 -#endif -#ifndef TRUE -# define TRUE 1 -#endif -# define NAMELEN 4096 -#define GB *1024*1024*1024 -#ifndef MIN -# define MIN(X,Y) ((X)<(Y)?(X):(Y)) -#endif -#ifndef MIN3 -# define MIN3(X,Y,Z) MIN(MIN(X,Y),Z) -#endif +#define NAMELEN 4096 +#define GB *1024*1024*1024 /*Make these 2 private properties(defined in H5Fprivate.h) available to h5repart. *The first one updates the member file size in the superblock. The second one |