summaryrefslogtreecommitdiffstats
path: root/tools/h5repack/h5repack.h
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2003-11-10 20:59:32 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2003-11-10 20:59:32 (GMT)
commitb00b2d31e70f76b0992df896454e16b8a2266d64 (patch)
tree906320b4c21173f58eac1d5da21ec8b297cc9902 /tools/h5repack/h5repack.h
parent823619b1f8f0f766f9ce311e8f694cf93bd25499 (diff)
downloadhdf5-b00b2d31e70f76b0992df896454e16b8a2266d64.zip
hdf5-b00b2d31e70f76b0992df896454e16b8a2266d64.tar.gz
hdf5-b00b2d31e70f76b0992df896454e16b8a2266d64.tar.bz2
[svn-r7833] Purpose:
bug fix, clean code Description: a malloced buffer was not release cleaned some compiler warnings Platforms tested: linux solaris 2.7 IRIX Misc. update:
Diffstat (limited to 'tools/h5repack/h5repack.h')
-rw-r--r--tools/h5repack/h5repack.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/h5repack/h5repack.h b/tools/h5repack/h5repack.h
index 01eef14..a1085da 100644
--- a/tools/h5repack/h5repack.h
+++ b/tools/h5repack/h5repack.h
@@ -101,9 +101,9 @@ typedef struct {
extern "C" {
#endif
-int h5repack (char* infile, char* outfile, pack_opt_t *options);
-int h5repack_addcomp (char* str, pack_opt_t *options);
-int h5repack_addchunk(char* str, pack_opt_t *options);
+int h5repack (const char* infile, const char* outfile, pack_opt_t *options);
+int h5repack_addcomp (const char* str, pack_opt_t *options);
+int h5repack_addchunk(const char* str, pack_opt_t *options);
int h5repack_init (pack_opt_t *options, int verbose);
int h5repack_end (pack_opt_t *options);
@@ -117,7 +117,7 @@ int h5repack_end (pack_opt_t *options);
*/
-void read_info(char *filename,pack_opt_t *options);
+void read_info(const char *filename,pack_opt_t *options);