summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1999-06-07 04:13:44 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1999-06-07 04:13:44 +0000
commitbd3a5e20e335a01ed66170dd2d1e67090a288839 (patch)
tree5859974b2c581e814c037d0022b9fa92a2f44729 /apps
parent88130ddce8e30f654772c3a53c45ee065aaf4766 (diff)
downloadATCD-bd3a5e20e335a01ed66170dd2d1e67090a288839.tar.gz
.
Diffstat (limited to 'apps')
-rw-r--r--apps/Gateway/Peer/Options.h2
-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
4 files changed, 4 insertions, 4 deletions
diff --git a/apps/Gateway/Peer/Options.h b/apps/Gateway/Peer/Options.h
index dc3daf5ce4b..c0136ce78ae 100644
--- a/apps/Gateway/Peer/Options.h
+++ b/apps/Gateway/Peer/Options.h
@@ -117,7 +117,7 @@ private:
// The connector port number, i.e., the one that we use to actively
// establish connections with a gatewayd and create a Consumer.
- char *connector_host_;
+ const char *connector_host_;
// Our connector host, i.e., where the gatewayd process is running.
long timeout_;
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)";