aboutsummaryrefslogtreecommitdiff
path: root/dejagnu.h
diff options
context:
space:
mode:
authorRob Savoye <rob@welcomehome.org>2001-07-30 17:13:26 +0000
committerRob Savoye <rob@welcomehome.org>2001-07-30 17:13:26 +0000
commit660ddaf6eb8f69b3ec95939bfbcc66cefd7847bc (patch)
tree5b258c02cc5676bb5acb10ebf46926460cccd6ed /dejagnu.h
parentbc4fca60163facbaddaf3f9bbe9a59c3e8ec1465 (diff)
downloaddejagnu-660ddaf6eb8f69b3ec95939bfbcc66cefd7847bc.zip
dejagnu-660ddaf6eb8f69b3ec95939bfbcc66cefd7847bc.tar.gz
dejagnu-660ddaf6eb8f69b3ec95939bfbcc66cefd7847bc.tar.bz2
2001-07-30 Paul A. Houghton <houghton@wcomnet.com>
* dejagnu.h, testsuite/libdejagnu/unit.cc: Make the oustate array be a const to work with Sun's compiler.
Diffstat (limited to 'dejagnu.h')
-rw-r--r--dejagnu.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/dejagnu.h b/dejagnu.h
index 919a469..6efd6bf 100644
--- a/dejagnu.h
+++ b/dejagnu.h
@@ -76,13 +76,15 @@ totals (void) {
#endif
#endif
-char *outstate[] = {
+const char *outstate_list[] = {
"FAILED: ",
"PASSED: ",
"UNTESTED: ",
"UNRESOLVED: "
};
+const char ** outstate = outstate_list;
+
#if 0
extern ios& __iomanip_testout (ios&, int);
inline smanip<int> testout (int n) {