summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2000-05-11 22:18:44 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2000-05-11 22:18:44 (GMT)
commit0662396e13f5bfaad522d01ec4ec9129c542cf96 (patch)
treecb5a7efb6c32ae58e8dbb8115fbbc045bea4a70f /tools
parente02e441734f6f9a86b77c87a4d009ff8f4df0e60 (diff)
downloadhdf5-0662396e13f5bfaad522d01ec4ec9129c542cf96.zip
hdf5-0662396e13f5bfaad522d01ec4ec9129c542cf96.tar.gz
hdf5-0662396e13f5bfaad522d01ec4ec9129c542cf96.tar.bz2
[svn-r2243] h5dump.c: Removed some Carriage-return's
h5tools.c h5tools.h: Modified print_version() to use const char * argument instead.
Diffstat (limited to 'tools')
-rw-r--r--tools/h5dump.c4
-rw-r--r--tools/h5tools.c2
-rw-r--r--tools/h5tools.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/tools/h5dump.c b/tools/h5dump.c
index 8d01d45..179bb74 100644
--- a/tools/h5dump.c
+++ b/tools/h5dump.c
@@ -432,9 +432,9 @@ H5G_stat_t statbuf;
case H5T_OPAQUE:
printf( "\n");
- indentation (indent+COL);
+ indentation (indent+COL);
printf("H5T_OPAQUE;\n");
- indentation (indent+COL);
+ indentation (indent+COL);
printf("OPAQUE_TAG \"%s\";\n", H5Tget_tag(type));
indentation (indent);
break;
diff --git a/tools/h5tools.c b/tools/h5tools.c
index 9328a44..a71116b 100644
--- a/tools/h5tools.c
+++ b/tools/h5tools.c
@@ -1849,7 +1849,7 @@ void indentation(int x) {
/* Print the program name and the version information which is */
/* defined the same as the HDF5 library version. */
void
-print_version(char *program_name)
+print_version(const char *program_name)
{
printf("%s: Version %u.%u.%u%s%s\n",
program_name, H5_VERS_MAJOR, H5_VERS_MINOR, H5_VERS_RELEASE,
diff --git a/tools/h5tools.h b/tools/h5tools.h
index 0cbdc84..22ab2d3 100644
--- a/tools/h5tools.h
+++ b/tools/h5tools.h
@@ -432,5 +432,5 @@ extern int nCols;
/* Definitions of useful routines */
-void print_version(char *program_name);
+void print_version(const char *program_name);