summaryrefslogtreecommitdiff
path: root/apps/gperf
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gperf')
-rw-r--r--apps/gperf/src/Gen_Perf.cpp2
-rw-r--r--apps/gperf/src/Options.cpp2
-rw-r--r--apps/gperf/src/Version.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/apps/gperf/src/Gen_Perf.cpp b/apps/gperf/src/Gen_Perf.cpp
index 584e1274954..b237d626fa5 100644
--- a/apps/gperf/src/Gen_Perf.cpp
+++ b/apps/gperf/src/Gen_Perf.cpp
@@ -30,7 +30,7 @@ ACE_RCSID(src, Gen_Perf, "$Id$")
#include "Vectors.h"
// Current release version.
-extern char *version_string;
+extern const char *version_string;
// Reads input keys, possibly applies the reordering heuristic, sets
// the maximum associated value size (rounded up to the nearest power
diff --git a/apps/gperf/src/Options.cpp b/apps/gperf/src/Options.cpp
index 0e5e2ad0b50..27c75b9f6be 100644
--- a/apps/gperf/src/Options.cpp
+++ b/apps/gperf/src/Options.cpp
@@ -36,7 +36,7 @@ ACE_RCSID(src, Options, "$Id$")
Options option;
// Current program version.
-extern char *version_string;
+extern const char *version_string;
// Size to jump on a collision.
static const int DEFAULT_JUMP_VALUE = 5;
diff --git a/apps/gperf/src/Version.cpp b/apps/gperf/src/Version.cpp
index 1ed8b33e1ac..d2967050e43 100644
--- a/apps/gperf/src/Version.cpp
+++ b/apps/gperf/src/Version.cpp
@@ -27,4 +27,4 @@
ACE_RCSID(src, Version, "$Id$")
-char *version_string = "2.8 (ACE version)";
+const char *version_string = "2.8 (ACE version)";