diff options
author | Sean McBride <sean@rogue-research.com> | 2021-10-18 14:01:05 (GMT) |
---|---|---|
committer | Sean McBride <sean@rogue-research.com> | 2021-10-25 16:27:09 (GMT) |
commit | 1cf14f8c03be76f39e60ccad5049a6f2cd00aa04 (patch) | |
tree | 1cdcd647478e605952ddf4e1f1591715384e3c2c /Source/cmCustomCommandGenerator.cxx | |
parent | 319944b3d289871c4cd21ee11aba1f5785d4b626 (diff) | |
download | CMake-1cf14f8c03be76f39e60ccad5049a6f2cd00aa04.zip CMake-1cf14f8c03be76f39e60ccad5049a6f2cd00aa04.tar.gz CMake-1cf14f8c03be76f39e60ccad5049a6f2cd00aa04.tar.bz2 |
Source: fix many -Wmissing-prototypes warnings by marking functions static
Diffstat (limited to 'Source/cmCustomCommandGenerator.cxx')
-rw-r--r-- | Source/cmCustomCommandGenerator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCustomCommandGenerator.cxx b/Source/cmCustomCommandGenerator.cxx index 04d09d4..105ccf1 100644 --- a/Source/cmCustomCommandGenerator.cxx +++ b/Source/cmCustomCommandGenerator.cxx @@ -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__) |