summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);