From 660ddaf6eb8f69b3ec95939bfbcc66cefd7847bc Mon Sep 17 00:00:00 2001 From: Rob Savoye Date: Mon, 30 Jul 2001 17:13:26 +0000 Subject: 2001-07-30 Paul A. Houghton * dejagnu.h, testsuite/libdejagnu/unit.cc: Make the oustate array be a const to work with Sun's compiler. --- testsuite/libdejagnu/unit.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'testsuite/libdejagnu/unit.cc') diff --git a/testsuite/libdejagnu/unit.cc b/testsuite/libdejagnu/unit.cc index 6f3918a..d01869a 100644 --- a/testsuite/libdejagnu/unit.cc +++ b/testsuite/libdejagnu/unit.cc @@ -1,11 +1,11 @@ // unit.cc -- This is a test case for the Dejagnu.h classes. +#include #include #include #include #include #include -#include #include using namespace std; @@ -25,14 +25,14 @@ TestClass1 *testClassPtr; // We have to so this silly crap with renaming the output string, so the generic // Tcl code that looks for the output state gets confused, and records random // duplicate messages. -char *os1[] = { +const char *os1[] = { "FAI: ", "PAS: ", "UNT: ", "UNR: " }; -char *os2[] = { +const char *os2[] = { "FAILED: ", "PASSED: ", "UNTESTED: ", -- cgit v1.1