diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2008-06-18 21:20:26 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2008-06-18 21:20:26 (GMT) |
commit | 59748607b2b42a9b7aaaf24314df0760cb35a06b (patch) | |
tree | 49378cca23650aaeb29f8f16c91446e84ef5cdc0 /tools/h5recover/trecover.h | |
parent | 88f7c73e5d7223c4b3f649de3b6e0bf626a9b91c (diff) | |
download | hdf5-59748607b2b42a9b7aaaf24314df0760cb35a06b.zip hdf5-59748607b2b42a9b7aaaf24314df0760cb35a06b.tar.gz hdf5-59748607b2b42a9b7aaaf24314df0760cb35a06b.tar.bz2 |
[svn-r15236] Cleaned out some compiler warnings.
Tested: kagiso.
Diffstat (limited to 'tools/h5recover/trecover.h')
-rw-r--r-- | tools/h5recover/trecover.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/h5recover/trecover.h b/tools/h5recover/trecover.h index 7bd3be2..aaa5604 100644 --- a/tools/h5recover/trecover.h +++ b/tools/h5recover/trecover.h @@ -13,12 +13,14 @@ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ #include "hdf5.h" +#include <unistd.h> #include <signal.h> #include <sys/time.h> #include <math.h> #include <stdlib.h> /* +#include <unistd.h> * Header file for the trecover test program. * * Creator: Albert Cheng, Jan 28, 2008. @@ -61,10 +63,10 @@ extern hid_t file, ctl_file; /* file id and control file id*/ /* protocol definitions */ void crasher(int crash_mode, CrasherParam_t *crash_param); -void writer(hid_t file, int dstype, int rank, hsize_t *dims, hsize_t *dimschunk); +void writer(hid_t f, int dstype, int rank, hsize_t *dims, hsize_t *dimschunk); void wakeup(int signum); void parser(int ac, char **av); /* command option parser */ void init(void); /* initialization */ void help(void); /* initialization */ -int create_files(char *filename, char *ctl_filename, char *jnl_filename); +int create_files(const char *filename, const char *ctl_filename, const char *jnl_filename); int close_file(hid_t fid); |