diff options
author | lloyd <[email protected]> | 2008-06-20 10:28:14 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-06-20 10:28:14 +0000 |
commit | 3b28d92a8a90f27f3da55db7afb47ea23e02cfc4 (patch) | |
tree | b5d752cc2c3c21e9dec8a05c5204ad4c6131bde8 /checks/pk_bench.cpp | |
parent | 655f3d4c389dbcb1e23c2ba425ccfd85234f6fce (diff) |
Fix remaining -Wmissing-declarations warnings in self-test/benchmark code
Diffstat (limited to 'checks/pk_bench.cpp')
-rw-r--r-- | checks/pk_bench.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/checks/pk_bench.cpp b/checks/pk_bench.cpp index e6ab90153..f3f873467 100644 --- a/checks/pk_bench.cpp +++ b/checks/pk_bench.cpp @@ -13,6 +13,7 @@ using namespace Botan; #include "common.h" +#include "bench.h" #include <iostream> #include <fstream> @@ -177,6 +178,8 @@ void bench_pk(const std::string& algo, bool html, double seconds) } } +namespace { + void print_result(bool html, u32bit runs, u64bit clocks_used, const std::string& algo_name, const std::string& op) { @@ -209,6 +212,8 @@ void print_result(bool html, u32bit runs, u64bit clocks_used, } } +} + void bench_enc(PK_Encryptor* enc, const std::string& algo_name, double seconds, bool html) { |