Skip to content
Snippets Groups Projects
Commit f3d4b12b authored by Sean McBride's avatar Sean McBride
Browse files

Fix Wmissing-prototypes warnings by making functions static

parent f771c009
No related branches found
No related tags found
1 merge request!235Fix various warnings
......@@ -19,7 +19,7 @@ file Copyright.txt or https://cmake.org/licensing#kwsys for details. */
#include <testSystemTools.h>
int _doLongPathTest()
static int _doLongPathTest()
{
using namespace kwsys;
static const int LONG_PATH_THRESHOLD = 512;
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment