aboutsummaryrefslogtreecommitdiff
path: root/tool/tool.cc
diff options
context:
space:
mode:
authorPiotr Sikora <piotrsikora@google.com>2016-03-18 18:24:50 -0700
committerDavid Benjamin <davidben@google.com>2016-03-20 16:56:32 +0000
commitf932894c7f379a74327afca6bd283d842f2ebee2 (patch)
tree344c276a9bef904248a2888254e9489689de4349 /tool/tool.cc
parentf188f9dce8878bd4ac7f1d792b34a15c1496ff3e (diff)
downloadboringssl-f932894c7f379a74327afca6bd283d842f2ebee2.zip
boringssl-f932894c7f379a74327afca6bd283d842f2ebee2.tar.gz
boringssl-f932894c7f379a74327afca6bd283d842f2ebee2.tar.bz2
Move function declarations to internal header.
Partially fixes build with -Wmissing-declarations. Change-Id: Ia563063fb077cda79244c21f02fd1c0f550353c2 Signed-off-by: Piotr Sikora <piotrsikora@google.com> Reviewed-on: https://boringssl-review.googlesource.com/7515 Reviewed-by: David Benjamin <davidben@google.com>
Diffstat (limited to 'tool/tool.cc')
-rw-r--r--tool/tool.cc15
1 files changed, 1 insertions, 14 deletions
diff --git a/tool/tool.cc b/tool/tool.cc
index 84f5598..34851b4 100644
--- a/tool/tool.cc
+++ b/tool/tool.cc
@@ -26,21 +26,8 @@
#include <libgen.h>
#endif
+#include "internal.h"
-bool Ciphers(const std::vector<std::string> &args);
-bool Client(const std::vector<std::string> &args);
-bool DoPKCS12(const std::vector<std::string> &args);
-bool GenerateEd25519Key(const std::vector<std::string> &args);
-bool GenerateRSAKey(const std::vector<std::string> &args);
-bool MD5Sum(const std::vector<std::string> &args);
-bool Rand(const std::vector<std::string> &args);
-bool SHA1Sum(const std::vector<std::string> &args);
-bool SHA224Sum(const std::vector<std::string> &args);
-bool SHA256Sum(const std::vector<std::string> &args);
-bool SHA384Sum(const std::vector<std::string> &args);
-bool SHA512Sum(const std::vector<std::string> &args);
-bool Server(const std::vector<std::string> &args);
-bool Speed(const std::vector<std::string> &args);
typedef bool (*tool_func_t)(const std::vector<std::string> &args);