From a89df27c0f7ded0a673dc84ce0b0e24c6d05e0d0 Mon Sep 17 00:00:00 2001 From: weidai Date: Fri, 18 Jul 2003 04:35:30 +0000 Subject: misc changes git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@103 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- datatest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'datatest.cpp') 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"); -- cgit v1.2.1