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/bindexplib.cxx | |
| parent | 319944b3d289871c4cd21ee11aba1f5785d4b626 (diff) | |
| download | cmake-1cf14f8c03be76f39e60ccad5049a6f2cd00aa04.tar.gz | |
Source: fix many -Wmissing-prototypes warnings by marking functions static
Diffstat (limited to 'Source/bindexplib.cxx')
| -rw-r--r-- | Source/bindexplib.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/bindexplib.cxx b/Source/bindexplib.cxx index 0dc954aa47..017fdc087b 100644 --- a/Source/bindexplib.cxx +++ b/Source/bindexplib.cxx @@ -320,9 +320,9 @@ private: }; #endif -bool DumpFileWithLlvmNm(std::string const& nmPath, const char* filename, - std::set<std::string>& symbols, - std::set<std::string>& dataSymbols) +static bool DumpFileWithLlvmNm(std::string const& nmPath, const char* filename, + std::set<std::string>& symbols, + std::set<std::string>& dataSymbols) { std::string output; // break up command line into a vector @@ -375,9 +375,9 @@ bool DumpFileWithLlvmNm(std::string const& nmPath, const char* filename, return true; } -bool DumpFile(std::string const& nmPath, const char* filename, - std::set<std::string>& symbols, - std::set<std::string>& dataSymbols) +static bool DumpFile(std::string const& nmPath, const char* filename, + std::set<std::string>& symbols, + std::set<std::string>& dataSymbols) { #ifndef _WIN32 return DumpFileWithLlvmNm(nmPath, filename, symbols, dataSymbols); |
