diff options
author | Rob Savoye <rob@welcomehome.org> | 2001-07-30 17:13:26 +0000 |
---|---|---|
committer | Rob Savoye <rob@welcomehome.org> | 2001-07-30 17:13:26 +0000 |
commit | 660ddaf6eb8f69b3ec95939bfbcc66cefd7847bc (patch) | |
tree | 5b258c02cc5676bb5acb10ebf46926460cccd6ed /testsuite/libdejagnu | |
parent | bc4fca60163facbaddaf3f9bbe9a59c3e8ec1465 (diff) | |
download | dejagnu-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 'testsuite/libdejagnu')
-rw-r--r-- | testsuite/libdejagnu/unit.cc | 6 |
1 files changed, 3 insertions, 3 deletions
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 <sys/types.h> #include <iostream> #include <regex.h> #include <string> #include <fstream> #include <set> -#include <sys/types.h> #include <dejagnu.h> 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: ", |