diff options
author | Adam Langley <agl@google.com> | 2016-07-12 18:09:33 +0300 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2016-07-12 18:09:33 +0300 |
commit | 10f97f3bfcecc3fbe8e9f02e7c426f7e340f7f54 (patch) | |
tree | 3a23df61db5dc580eeb23916bf8955f5fcedc6cd /tool/tool.cc | |
parent | d2b5af56cf2a8b4695821b2ff64a7bfc82f3ba5e (diff) |
Revert "Move C++ helpers into |bssl| namespace."
This reverts commit 09feb0f3d95a2bc58ce0faaf14256d3bd30f52a4.
(In order to make WebRTC happy this also needs to be reverted.)
Diffstat (limited to 'tool/tool.cc')
-rw-r--r-- | tool/tool.cc | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/tool/tool.cc b/tool/tool.cc index 8519108e..34851b47 100644 --- a/tool/tool.cc +++ b/tool/tool.cc @@ -29,8 +29,6 @@ #include "internal.h" -namespace bssl { - typedef bool (*tool_func_t)(const std::vector<std::string> &args); struct Tool { @@ -81,8 +79,7 @@ static tool_func_t FindTool(const std::string &name) { } } - -static int Main(int argc, char **argv) { +int main(int argc, char **argv) { #if defined(OPENSSL_WINDOWS) // Read and write in binary mode. This makes bssl on Windows consistent with // bssl on other platforms, and also makes it consistent with MSYS's commands @@ -127,9 +124,3 @@ static int Main(int argc, char **argv) { return !tool(args); } - -} // namespace bssl - -int main(int argc, char **argv) { - return bssl::Main(argc, argv); -} |