aboutsummaryrefslogtreecommitdiffstats
path: root/checks/bigint.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-06-12 14:47:25 +0000
committerlloyd <[email protected]>2008-06-12 14:47:25 +0000
commitb730ba19274f5422adb70df6d3328c46af35142f (patch)
tree4eb96b82b4489215587ee4b01ddafff9d9962f14 /checks/bigint.cpp
parent1164b265ebecfb2132b07c9492e71881c69b2be4 (diff)
Fix some -Wmissing-declarations warnings
Diffstat (limited to 'checks/bigint.cpp')
-rw-r--r--checks/bigint.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/checks/bigint.cpp b/checks/bigint.cpp
index 5853e8a73..84bee4eaa 100644
--- a/checks/bigint.cpp
+++ b/checks/bigint.cpp
@@ -11,6 +11,7 @@
using namespace Botan;
#include "common.h"
+#include "validate.h"
#define DEBUG 0
@@ -122,6 +123,8 @@ u32bit do_bigint_tests(const std::string& filename)
return errors;
}
+namespace {
+
// c==expected, d==a op b, e==a op= b
u32bit results(std::string op,
const BigInt& a, const BigInt& b,
@@ -154,6 +157,8 @@ u32bit results(std::string op,
}
}
+}
+
u32bit check_add(const std::vector<std::string>& args)
{
BigInt a(args[0]);