summaryrefslogtreecommitdiff
path: root/Tests/CMakeLib/testRST.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CMakeLib/testRST.cxx')
-rw-r--r--Tests/CMakeLib/testRST.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/CMakeLib/testRST.cxx b/Tests/CMakeLib/testRST.cxx
index 28d80a5f61..77f2a662af 100644
--- a/Tests/CMakeLib/testRST.cxx
+++ b/Tests/CMakeLib/testRST.cxx
@@ -8,7 +8,8 @@
#include "cmRST.h"
#include "cmSystemTools.h"
-void reportLine(std::ostream& os, bool ret, std::string const& line, bool eol)
+static void reportLine(std::ostream& os, bool ret, std::string const& line,
+ bool eol)
{
if (ret) {
os << "\"" << line << "\" (" << (eol ? "with EOL" : "without EOL") << ")";