summaryrefslogtreecommitdiff
path: root/Source/kwsys
diff options
context:
space:
mode:
authorSean McBride <sean@rogue-research.com>2021-10-18 10:01:05 -0400
committerSean McBride <sean@rogue-research.com>2021-10-25 12:27:09 -0400
commit1cf14f8c03be76f39e60ccad5049a6f2cd00aa04 (patch)
tree1cdcd647478e605952ddf4e1f1591715384e3c2c /Source/kwsys
parent319944b3d289871c4cd21ee11aba1f5785d4b626 (diff)
downloadcmake-1cf14f8c03be76f39e60ccad5049a6f2cd00aa04.tar.gz
Source: fix many -Wmissing-prototypes warnings by marking functions static
Diffstat (limited to 'Source/kwsys')
-rw-r--r--Source/kwsys/testDirectory.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/kwsys/testDirectory.cxx b/Source/kwsys/testDirectory.cxx
index a847462a3b..143420210c 100644
--- a/Source/kwsys/testDirectory.cxx
+++ b/Source/kwsys/testDirectory.cxx
@@ -77,7 +77,7 @@ int _doLongPathTest()
return res;
}
-int _nonExistentDirectoryTest()
+static int _nonExistentDirectoryTest()
{
using namespace kwsys;
int res = 0;
@@ -105,7 +105,7 @@ int _nonExistentDirectoryTest()
return res;
}
-int _copyDirectoryTest()
+static int _copyDirectoryTest()
{
using namespace kwsys;
const std::string source(TEST_SYSTEMTOOLS_BINARY_DIR