aboutsummaryrefslogtreecommitdiff
path: root/testsuite/libdejagnu/unit.cc
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/libdejagnu/unit.cc')
-rw-r--r--testsuite/libdejagnu/unit.cc6
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: ",