Source: fix many -Wmissing-prototypes warnings by marking functions static

This commit is contained in:
Sean McBride
2021-10-18 10:01:05 -04:00
parent 319944b3d2
commit 1cf14f8c03
27 changed files with 200 additions and 182 deletions

View File

@@ -342,7 +342,7 @@ std::string cmCustomCommandGenerator::GetCommand(unsigned int c) const
return this->CommandLines[c][0];
}
std::string escapeForShellOldStyle(const std::string& str)
static std::string escapeForShellOldStyle(const std::string& str)
{
std::string result;
#if defined(_WIN32) && !defined(__CYGWIN__)