diff options
author | Jonathan Kim <jkm@hdfgroup.org> | 2011-01-26 21:54:49 (GMT) |
---|---|---|
committer | Jonathan Kim <jkm@hdfgroup.org> | 2011-01-26 21:54:49 (GMT) |
commit | 83292cf765186eeb7e377676a66c42e36d9f1edf (patch) | |
tree | 640f514640356862bf6eafef07277eadaa3e694c /tools/h5repack/h5repack_filters.c | |
parent | 9379ce4c492c539cc1136b5e7dda436a2c0e7db0 (diff) | |
download | hdf5-83292cf765186eeb7e377676a66c42e36d9f1edf.zip hdf5-83292cf765186eeb7e377676a66c42e36d9f1edf.tar.gz hdf5-83292cf765186eeb7e377676a66c42e36d9f1edf.tar.bz2 |
[svn-r20007] Purpose:
Clean up tool code.
Remove "h5test.h" from tool code. Currently only in h5repack.
Tested:
jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), linew (solaris-BE), tejeda (mac32-LE)
Diffstat (limited to 'tools/h5repack/h5repack_filters.c')
-rw-r--r-- | tools/h5repack/h5repack_filters.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/h5repack/h5repack_filters.c b/tools/h5repack/h5repack_filters.c index 8075a77..c7d8b1e 100644 --- a/tools/h5repack/h5repack_filters.c +++ b/tools/h5repack/h5repack_filters.c @@ -14,9 +14,16 @@ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ #include "h5repack.h" -#include "h5test.h" #include "h5tools.h" +/* number of members in an array */ +#ifndef NELMTS +# define NELMTS(X) (sizeof(X)/sizeof(X[0])) +#endif + +/* minimum of two values */ +#undef MIN +#define MIN(a,b) (((a)<(b)) ? (a) : (b)) /*------------------------------------------------------------------------- * Function: aux_find_obj |