summaryrefslogtreecommitdiffstats
path: root/tools/h5repack
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2008-02-25 18:35:29 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2008-02-25 18:35:29 (GMT)
commit04aad32e73c7b80cf6cf13e94def96bddbb1e68a (patch)
tree7f81a3669193d56d51aa6ccfb732220cee618ab2 /tools/h5repack
parent0a33c38b7527185c148c9784dec122abfa086c86 (diff)
downloadhdf5-04aad32e73c7b80cf6cf13e94def96bddbb1e68a.zip
hdf5-04aad32e73c7b80cf6cf13e94def96bddbb1e68a.tar.gz
hdf5-04aad32e73c7b80cf6cf13e94def96bddbb1e68a.tar.bz2
[svn-r14671] fix typo in comments and remove unused header mention
tested: linux
Diffstat (limited to 'tools/h5repack')
-rw-r--r--tools/h5repack/h5repack.c2
-rw-r--r--tools/h5repack/h5repack.h14
2 files changed, 5 insertions, 11 deletions
diff --git a/tools/h5repack/h5repack.c b/tools/h5repack/h5repack.c
index 954f3e7..febf7d7 100644
--- a/tools/h5repack/h5repack.c
+++ b/tools/h5repack/h5repack.c
@@ -45,7 +45,7 @@ static int have_request(pack_opt_t *options);
* Purpose: locate all high-level HDF5 objects in the file
* and compress/chunk them using options
*
- * Algorythm: 2 traversals are made to the file; the 1st builds a list of
+ * Algorithm: 2 traversals are made to the file; the 1st builds a list of
* the objects, the 2nd makes a copy of them, using the options;
* the reason for the 1st traversal is to check for invalid
* object name requests
diff --git a/tools/h5repack/h5repack.h b/tools/h5repack/h5repack.h
index baa888e..80fb1b0 100644
--- a/tools/h5repack/h5repack.h
+++ b/tools/h5repack/h5repack.h
@@ -19,17 +19,12 @@
#include "hdf5.h"
#include "h5trav.h"
-#include "H5Zprivate.h" /* H5Z_COMMON_CD_VALUES */
-
-
#define H5FOPENERROR "unable to open file"
-
-#define PFORMAT "%-7s %-7s %-7s\n" /*chunk info, compression info, name*/
-#define PFORMAT1 "%-7s %-7s %-7s" /*chunk info, compression info, name*/
-
-#define MAX_NC_NAME 256 /* max length of a name */
-#define MAX_VAR_DIMS 32 /* max per variable dimensions */
+#define PFORMAT "%-7s %-7s %-7s\n" /* chunk info, compression info, name*/
+#define PFORMAT1 "%-7s %-7s %-7s" /* chunk info, compression info, name*/
+#define MAX_NC_NAME 256 /* max length of a name */
+#define MAX_VAR_DIMS 32 /* max per variable dimensions */
/*-------------------------------------------------------------------------
* data structures for command line options
@@ -53,7 +48,6 @@ typedef struct {
H5Z_FILTER_SCALEOFFSET 6 , scaleoffset compression
*/
-/* #define CD_VALUES H5Z_COMMON_CD_VALUES */
#define CD_VALUES 20
typedef struct {