summaryrefslogtreecommitdiff
path: root/datatest.cpp
diff options
context:
space:
mode:
authorweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-07-18 04:35:30 +0000
committerweidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0>2003-07-18 04:35:30 +0000
commita89df27c0f7ded0a673dc84ce0b0e24c6d05e0d0 (patch)
treea25c153b42dc3f510a7981a031bd04dfa0a7a712 /datatest.cpp
parent656db5504c8c656d3981fed232da44b2f28b1feb (diff)
downloadcryptopp-a89df27c0f7ded0a673dc84ce0b0e24c6d05e0d0.tar.gz
misc changes
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@103 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'datatest.cpp')
-rw-r--r--datatest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/datatest.cpp b/datatest.cpp
index 1307760..a104ae5 100644
--- a/datatest.cpp
+++ b/datatest.cpp
@@ -24,7 +24,7 @@ public:
static const TestData *s_currentTestData = NULL;
-void OutputTestData(const TestData &v)
+static void OutputTestData(const TestData &v)
{
for (TestData::const_iterator i = v.begin(); i != v.end(); ++i)
{
@@ -32,13 +32,13 @@ void OutputTestData(const TestData &v)
}
}
-void SignalTestFailure()
+static void SignalTestFailure()
{
OutputTestData(*s_currentTestData);
throw TestFailure();
}
-void SignalTestError()
+static void SignalTestError()
{
OutputTestData(*s_currentTestData);
throw Exception(Exception::OTHER_ERROR, "Unexpected error during validation test");