diff options
author | Sean McBride <sean@rogue-research.com> | 2021-10-18 10:01:05 -0400 |
---|---|---|
committer | Sean McBride <sean@rogue-research.com> | 2021-10-25 12:27:09 -0400 |
commit | 1cf14f8c03be76f39e60ccad5049a6f2cd00aa04 (patch) | |
tree | 1cdcd647478e605952ddf4e1f1591715384e3c2c /Source/cmFindCommon.cxx | |
parent | 319944b3d289871c4cd21ee11aba1f5785d4b626 (diff) | |
download | cmake-1cf14f8c03be76f39e60ccad5049a6f2cd00aa04.tar.gz |
Source: fix many -Wmissing-prototypes warnings by marking functions static
Diffstat (limited to 'Source/cmFindCommon.cxx')
-rw-r--r-- | Source/cmFindCommon.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmFindCommon.cxx b/Source/cmFindCommon.cxx index e896a87cc0..70d59c21ce 100644 --- a/Source/cmFindCommon.cxx +++ b/Source/cmFindCommon.cxx @@ -353,7 +353,7 @@ void cmFindCommon::AddPathSuffix(std::string const& arg) this->SearchPathSuffixes.push_back(std::move(suffix)); } -void AddTrailingSlash(std::string& s) +static void AddTrailingSlash(std::string& s) { if (!s.empty() && s.back() != '/') { s += '/'; |